diff options
Diffstat (limited to 'wxlstate.patch')
-rw-r--r-- | wxlstate.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/wxlstate.patch b/wxlstate.patch new file mode 100644 index 000000000000..0e631d5d3779 --- /dev/null +++ b/wxlstate.patch @@ -0,0 +1,14 @@ +Index: modules/wxlua/wxlstate.cpp +=================================================================== +--- modules/wxlua/wxlstate.cpp (revision 251) ++++ modules/wxlua/wxlstate.cpp (working copy) +@@ -404,6 +404,9 @@ + if ((m_lua_State == NULL) || m_wxlStateData->m_is_closing || m_lua_State_coroutine) + return true; + ++ if (lua_status(m_lua_State) != LUA_OK) ++ return true; ++ + m_wxlStateData->m_is_closing = true; + + //wxCHECK_MSG(m_lua_State, false, wxT("Interpreter not created")); |