diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-11 16:33:40 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-11 16:33:40 -0400 |
commit | f85b362351a5f9167f93b6988f2c8a4c7e03a33c (patch) | |
tree | 5f2fa7c25e94b0211b645fe6c24618a34676735c /libs/ardour/session.cc | |
parent | 91e2eab01abe61be89b1860cdb2d24ca8b22c0bc (diff) |
*maybe* fix issues with zombification during session loading
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 16 |
1 files changed, 10 insertions, 6 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; } |