mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
fix crash when closing session w/action hooks
drop_callback() deletes the Callback itself (lua state is invalid)
This commit is contained in:
parent
b759bae0cd
commit
f84cdb3381
1 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue