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:
Robin Gareus 2025-08-27 13:49:57 +02:00
parent a4e9b242e8
commit 385ff3b3e2
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -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