projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b759bae
)
fix crash when closing session w/action hooks
author
Robin Gareus
<robin@gareus.org>
Thu, 2 Feb 2017 20:42:23 +0000
(21:42 +0100)
committer
Robin Gareus
<robin@gareus.org>
Thu, 2 Feb 2017 20:42:57 +0000
(21:42 +0100)
drop_callback() deletes the Callback itself (lua state is invalid)
gtk2_ardour/luainstance.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/luainstance.cc
b/gtk2_ardour/luainstance.cc
index 567347f81ea66d8050b267dc84ed740d15df52a8..d8c602b09a5e159d246c80eaa5143eb18e4189c0 100644
(file)
--- a/
gtk2_ardour/luainstance.cc
+++ b/
gtk2_ardour/luainstance.cc
@@
-1681,10
+1681,6
@@
LuaCallback::session_going_away ()
_session = 0;
drop_callback (); /* EMIT SIGNAL */
-
- lua_State* L = lua.getState();
- LuaBindings::set_session (L, 0);
- lua.do_command ("collectgarbage();");
}
void