mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
Fix crash when unloading a partially loaded session.
This commit is contained in:
parent
0fd861d8de
commit
87f5cd30d1
1 changed files with 7 additions and 2 deletions
|
|
@ -749,8 +749,13 @@ Session::destroy ()
|
|||
clear_clicks ();
|
||||
|
||||
/* need to remove auditioner before monitoring section
|
||||
* otherwise it is re-connected */
|
||||
auditioner->drop_references ();
|
||||
* otherwise it is re-connected.
|
||||
* Note: If a session was never successfully loaded, there
|
||||
* may not yet be an auditioner.
|
||||
*/
|
||||
if (auditioner) {
|
||||
auditioner->drop_references ();
|
||||
}
|
||||
auditioner.reset ();
|
||||
|
||||
/* drop references to routes held by the monitoring section
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue