projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fd861d
)
Fix crash when unloading a partially loaded session.
author
Robin Gareus
<robin@gareus.org>
Thu, 21 Sep 2017 15:35:52 +0000
(17:35 +0200)
committer
Robin Gareus
<robin@gareus.org>
Thu, 21 Sep 2017 15:35:52 +0000
(17:35 +0200)
libs/ardour/session.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session.cc
b/libs/ardour/session.cc
index af0f66a889db97ce73fd190cf72eed24e93a5f82..f6f22ea1e36b91c876fc9fb13b77cd94581f2efa 100644
(file)
--- a/
libs/ardour/session.cc
+++ b/
libs/ardour/session.cc
@@
-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