diff --git a/cocos2dx/platform/ios/CCDirectorCaller.mm b/cocos2dx/platform/ios/CCDirectorCaller.mm index b39373449e..4fcb32fbed 100644 --- a/cocos2dx/platform/ios/CCDirectorCaller.mm +++ b/cocos2dx/platform/ios/CCDirectorCaller.mm @@ -51,6 +51,7 @@ static id s_sharedDirectorCaller; +(void) destroy { [s_sharedDirectorCaller release]; + s_sharedDirectorCaller = nil; } -(void) alloc