Merge commit 'c7330d4543606fc9ea74d8922c0c126f857d9d18' into luafixes2

Revert bad fix for not terminating script on initial error
This commit is contained in:
TheRealQuantam 2024-01-30 01:45:55 -08:00
commit 821827fbde
1 changed files with 4 additions and 4 deletions

View File

@ -371,9 +371,6 @@ static void FCEU_LuaOnStop()
#ifdef __WIN_DRIVER__
TaseditorDisableManualFunctionIfNeeded();
#endif
if (info_onstop)
info_onstop(info_uid);
}
@ -6673,6 +6670,9 @@ void FCEU_LuaStop() {
CoInitialize(0);
#endif
if (info_onstop)
info_onstop(info_uid);
//lua_gc(L,LUA_GCCOLLECT,0);