one more ENSURE_GUI_THREAD()

This commit is contained in:
Robin Gareus 2016-03-28 19:15:10 +02:00
parent 8acf782bd2
commit e063e4bf1d
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ LuaWindow::hide_window (GdkEventAny *ev)
void LuaWindow::reinit_lua ()
{
ENSURE_GUI_THREAD (*this, &LuaWindow::session_going_away);
delete lua;
lua = new LuaState();
lua->Print.connect (sigc::mem_fun (*this, &LuaWindow::append_text));