From ee06a5908c20332b321825b58ea0d67f2225af07 Mon Sep 17 00:00:00 2001 From: minggo Date: Tue, 21 Jan 2014 10:14:00 +0800 Subject: [PATCH] issue #3713:invoke static member function to destroy singleone object --- cocos/2d/CCDirector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/2d/CCDirector.cpp b/cocos/2d/CCDirector.cpp index a9490d73d7..c45e10851e 100644 --- a/cocos/2d/CCDirector.cpp +++ b/cocos/2d/CCDirector.cpp @@ -191,7 +191,7 @@ Director::~Director(void) delete _console; // clean auto release pool - PoolManager::getInstance()->destroyInstance(); + PoolManager::destroyInstance(); // delete _lastUpdate CC_SAFE_DELETE(_lastUpdate);