forked from pool/wxlua
Required for ZeroBraneStudio and a Lua IDE itself. You may need to osc linkpac X11:wxWidgets/wxstedit OBS-URL: https://build.opensuse.org/request/show/412755 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/wxlua?expand=0&rev=1
15 lines
506 B
Diff
15 lines
506 B
Diff
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) != 0)
|
|
+ return true;
|
|
+
|
|
m_wxlStateData->m_is_closing = true;
|
|
|
|
//wxCHECK_MSG(m_lua_State, false, wxT("Interpreter not created"));
|