mirror of https://github.com/axmolengine/axmol.git
issue #3713:invoke static member function to destroy singleone object
This commit is contained in:
parent
3e5fbb2422
commit
ee06a5908c
|
@ -191,7 +191,7 @@ Director::~Director(void)
|
||||||
delete _console;
|
delete _console;
|
||||||
|
|
||||||
// clean auto release pool
|
// clean auto release pool
|
||||||
PoolManager::getInstance()->destroyInstance();
|
PoolManager::destroyInstance();
|
||||||
|
|
||||||
// delete _lastUpdate
|
// delete _lastUpdate
|
||||||
CC_SAFE_DELETE(_lastUpdate);
|
CC_SAFE_DELETE(_lastUpdate);
|
||||||
|
|
Loading…
Reference in New Issue