diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-24 01:52:24 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-24 01:52:24 +0100 |
commit | 67fb1d65b797b6011f7457605f877c07d117d31a (patch) | |
tree | 0f7c870c696651f7cab0b27eb63fda68707b89d5 /gtk2_ardour/luawindow.h | |
parent | 2061c352d250e218bb8c674d9e90508d2d581222 (diff) |
reset lua console interpreter when session changes (drop references)
Diffstat (limited to 'gtk2_ardour/luawindow.h')
-rw-r--r-- | gtk2_ardour/luawindow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/luawindow.h b/gtk2_ardour/luawindow.h index 8faec694a5..40fa269cef 100644 --- a/gtk2_ardour/luawindow.h +++ b/gtk2_ardour/luawindow.h @@ -85,7 +85,7 @@ class LuaWindow : LuaWindow (); static LuaWindow* _instance; - LuaState lua; + LuaState *lua; bool _visible; Gtk::Menu* _menu_scratch; @@ -114,6 +114,7 @@ class LuaWindow : void session_going_away (); void update_title (); + void reinit_lua (); void setup_buffers (); void refresh_scriptlist (); |