mirror of https://github.com/axmolengine/axmol.git
Fixed NotificationNode might crash program when the program exits.
This commit is contained in:
parent
518de1ff57
commit
3c8d15f6f8
|
@ -961,6 +961,7 @@ void Director::reset()
|
|||
|
||||
stopAnimation();
|
||||
|
||||
CC_SAFE_RELEASE_NULL(_notificationNode);
|
||||
CC_SAFE_RELEASE_NULL(_FPSLabel);
|
||||
CC_SAFE_RELEASE_NULL(_drawnBatchesLabel);
|
||||
CC_SAFE_RELEASE_NULL(_drawnVerticesLabel);
|
||||
|
|
Loading…
Reference in New Issue