summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-07-09 10:09:49 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-07-09 10:09:49 -0400
commit0e5d86a82536deca0937159cbfa0dd28580633bb (patch)
treea6f4932c559cba26636fe0ec7e31e324f78f92c0 /libs
parentb37e3229f79afdda9a37021f5dd8d4655b754be6 (diff)
don't save state when removing sources during session loading (though this should no longer happen)
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 65d9f59a58..9faa34dcc7 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -3351,7 +3351,7 @@ Session::remove_source (boost::weak_ptr<Source> src)
}
}
- if (!(_state_of_the_state & InCleanup)) {
+ if (!(_state_of_the_state & StateOfTheState (InCleanup|Loading))) {
/* save state so we don't end up with a session file
referring to non-existent sources.