summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-09-11 16:33:40 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-09-11 16:33:40 -0400
commitf85b362351a5f9167f93b6988f2c8a4c7e03a33c (patch)
tree5f2fa7c25e94b0211b645fe6c24618a34676735c /libs
parent91e2eab01abe61be89b1860cdb2d24ca8b22c0bc (diff)
*maybe* fix issues with zombification during session loading
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session.cc16
-rw-r--r--libs/ardour/session_state.cc4
2 files changed, 10 insertions, 10 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 6f0638bdc9..e89808e818 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -326,6 +326,16 @@ Session::Session (AudioEngine &eng,
EndTimeChanged.connect_same_thread (*this, boost::bind (&Session::end_time_changed, this, _1));
_is_new = false;
+
+ /* hook us up to the engine since we are now completely constructed */
+
+ BootMessage (_("Connect to engine"));
+
+ _engine.set_session (this);
+ _engine.reset_timebase ();
+
+ BootMessage (_("Session loading complete"));
+
}
Session::~Session ()
@@ -727,12 +737,6 @@ Session::when_engine_running ()
initialize_latencies ();
- /* hook us up to the engine */
-
- BootMessage (_("Connect to engine"));
- _engine.set_session (this);
- _engine.reset_timebase ();
-
return 0;
}
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index dbb2d4edcd..d90346073c 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -308,8 +308,6 @@ Session::post_engine_init ()
_state_of_the_state = Clean;
- Port::set_connecting_blocked (false);
-
DirtyChanged (); /* EMIT SIGNAL */
if (_is_new) {
@@ -320,8 +318,6 @@ Session::post_engine_init ()
state_was_pending = false;
}
- BootMessage (_("Session loading complete"));
-
return 0;
}