Fixed NotificationNode might crash program when the program exits.

This commit is contained in:
WenhaiLin 2015-06-15 17:55:00 +08:00
parent 518de1ff57
commit 3c8d15f6f8
1 changed files with 1 additions and 0 deletions

View File

@ -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);