Wrapping Virtual Destructors

BlitzMax Forums/BlitzMax Programming/Wrapping Virtual Destructors

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

It's in the Delete() Method as Chris suggests, so it can't be called more than once and the pointer is already nulled before the Delete() method gets called.

The pointer is valid, I've checked. I have also added the checking you suggest, just for testing purposes and it zips right past the error checking and crashed anyway. So I'm pretty sure it's the Destructor and not the pointer.