Always set rqTermAck to true after binding returns

This commit is contained in:
Jonas Kulla 2013-09-23 00:02:28 +02:00
parent f4f0748d68
commit 660cb9e05a
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ int rgssThreadFun(void *userdata)
/* Start script execution */
scriptBinding->execute();
threadData->rqTermAck = true;
threadData->ethread->requestTerminate();
GlobalState::finiInstance();