projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
646bc2b
)
fix crash at exit, ctrl+s during quit.
author
Robin Gareus
<robin@gareus.org>
Sat, 19 Sep 2015 16:32:23 +0000
(18:32 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sat, 19 Sep 2015 17:00:43 +0000
(19:00 +0200)
gtk2_ardour/ardour_ui.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/ardour_ui.cc
b/gtk2_ardour/ardour_ui.cc
index 22c69029daddee016732dbe46a75d663dbc5be1e..d13a3a2ad5517cfdb1d3333f9631ce3c4af07cf9 100644
(file)
--- a/
gtk2_ardour/ardour_ui.cc
+++ b/
gtk2_ardour/ardour_ui.cc
@@
-2575,6
+2575,10
@@
ARDOUR_UI::rename_session ()
void
ARDOUR_UI::save_state (const string & name, bool switch_to_it)
{
+ if (!_session || _session->deletion_in_progress()) {
+ return;
+ }
+
XMLNode* node = new XMLNode (X_("UI"));
WM::Manager::instance().add_state (*node);