From 660cb9e05a746f38b8d7fc09a8730ffa6285a5c3 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Mon, 23 Sep 2013 00:02:28 +0200 Subject: [PATCH] Always set rqTermAck to true after binding returns --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 0a051df..a04e307 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -105,6 +105,7 @@ int rgssThreadFun(void *userdata) /* Start script execution */ scriptBinding->execute(); + threadData->rqTermAck = true; threadData->ethread->requestTerminate(); GlobalState::finiInstance();