From 51b2e305c4cbaae6f2f7c81317e6637ae27979bb Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 5 Sep 2019 17:00:14 +0200 Subject: [PATCH] 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() --- libs/ardour/session_state.cc | 8 -------- 1 file changed, 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"));