mirror of https://github.com/axmolengine/axmol.git
Fix js project with pre-build frameworks crash when exit program
This commit is contained in:
parent
69a6406661
commit
52fb3fd098
|
@ -10,5 +10,7 @@ int APIENTRY _tWinMain(HINSTANCE hInstance,
|
|||
UNREFERENCED_PARAMETER(hPrevInstance);
|
||||
UNREFERENCED_PARAMETER(lpCmdLine);
|
||||
auto simulator = SimulatorWin::getInstance();
|
||||
return simulator->run();
|
||||
int ret = simulator->run();
|
||||
delete simulator;
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue