13
0

one more ENSURE_GUI_THREAD()

This commit is contained in:
Robin Gareus 2016-03-28 19:15:10 +02:00
parent 8acf782bd2
commit e063e4bf1d

View File

@ -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));