don't save state when removing sources during session loading (though this should no longer happen)

This commit is contained in:
Paul Davis
2014-07-09 10:09:49 -04:00
parent b37e3229f7
commit 0e5d86a825

View File

@@ -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.