one more ENSURE_GUI_THREAD()
This commit is contained in:
parent
8acf782bd2
commit
e063e4bf1d
@ -191,6 +191,7 @@ LuaWindow::hide_window (GdkEventAny *ev)
|
|||||||
|
|
||||||
void LuaWindow::reinit_lua ()
|
void LuaWindow::reinit_lua ()
|
||||||
{
|
{
|
||||||
|
ENSURE_GUI_THREAD (*this, &LuaWindow::session_going_away);
|
||||||
delete lua;
|
delete lua;
|
||||||
lua = new LuaState();
|
lua = new LuaState();
|
||||||
lua->Print.connect (sigc::mem_fun (*this, &LuaWindow::append_text));
|
lua->Print.connect (sigc::mem_fun (*this, &LuaWindow::append_text));
|
||||||
|
Loading…
Reference in New Issue
Block a user