Another fix for pianoroll use-after-free
`SessionHandleRef::session_going_away` sets `session = 0;` the timer needs to be disconnected before then.
This commit is contained in:
@@ -1883,8 +1883,8 @@ Pianoroll::set_session (ARDOUR::Session* s)
|
||||
void
|
||||
Pianoroll::session_going_away ()
|
||||
{
|
||||
CueEditor::session_going_away ();
|
||||
_update_connection.disconnect ();
|
||||
CueEditor::session_going_away ();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user