Drop session's monitor bus reference when removing the bus

This commit is contained in:
Robin Gareus 2024-04-25 18:27:47 +02:00
parent 848832f8b0
commit 354e60d657
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 3 additions and 0 deletions

View File

@ -1101,6 +1101,7 @@ Session::remove_monitor_section ()
}
remove_route (_monitor_out);
_monitor_out.reset ();
if (deletion_in_progress ()) {
return;
}
@ -1410,6 +1411,8 @@ Session::remove_surround_master ()
}
remove_route (_surround_master);
_surround_master.reset ();
if (deletion_in_progress ()) {
return;
}