summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-09-05 17:00:14 +0200
committerRobin Gareus <robin@gareus.org>2019-09-05 17:00:14 +0200
commit51b2e305c4cbaae6f2f7c81317e6637ae27979bb (patch)
treefb7b468587212842eb205e0169a06fc4a7119770 /libs/ardour/session_state.cc
parent4949f9a0b3f64a7a37fb6f45aa1cc5ade8542d0a (diff)
Skip duplicate early session-save for new sessions
Identical code is called unconditionally at the end of the Session c'tor via Session::session_loaded()
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 02021dd31b..5bf6f92438 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -413,14 +413,6 @@ Session::post_engine_init ()
DirtyChanged (); /* EMIT SIGNAL */
- if (_is_new) {
- save_state ("");
- } else if (state_was_pending) {
- save_state ("");
- remove_pending_capture_state ();
- state_was_pending = false;
- }
-
/* Now, finally, we can fill the playback buffers */
BootMessage (_("Filling playback buffers"));