From 0822a6d7af1aa15ac3d2f70c1b117a036d1550f1 Mon Sep 17 00:00:00 2001 From: Milind Gupta Date: Fri, 10 Oct 2025 21:53:03 -0700 Subject: [PATCH] added wxEntryCleanup to fix process hanging after script execution finishes --- wxLua/modules/luamodule/luamodule.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/wxLua/modules/luamodule/luamodule.cpp b/wxLua/modules/luamodule/luamodule.cpp index e6f82425..ddf403c3 100644 --- a/wxLua/modules/luamodule/luamodule.cpp +++ b/wxLua/modules/luamodule/luamodule.cpp @@ -212,6 +212,7 @@ extern "C" { static int reportShutdown(lua_State *L) { s_wxlState.CloseLuaState(true, false); + wxEntryCleanup(); return 0; } }