*maybe* fix issues with zombification during session loading
This commit is contained in:
parent
91e2eab01a
commit
f85b362351
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user