[SOLVED] Is there any special way I am supposed to deallocate cocos2d-x managed types?

First I’m curious what happens when I call

Director::getInstance()->popScene();

and

Director::getInstance()->end();

The destructor for my child of layer class isn’t emitting its CCLOG, but I’ll try and dealloc before then.

I’ve traced the heap corruption, it was my fault :smile: pls delete