mirror of https://github.com/axmolengine/axmol.git
Merge pull request #7392 from xhcnb/fix_CC_ENABLE_SCRIPT_BINDING_build
Fix build with -DCC_ENABLE_SCRIPT_BINDING=0 , it causes failed
This commit is contained in:
commit
f205c0b704
|
@ -64,7 +64,9 @@ public:
|
|||
* @lua NA
|
||||
*/
|
||||
virtual ~ApplicationProtocol(){
|
||||
#if CC_ENABLE_SCRIPT_BINDING
|
||||
ScriptEngineManager::destroyInstance();
|
||||
#endif
|
||||
// clean auto release pool
|
||||
PoolManager::destroyInstance();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue