Fix "session dirty" flicker during session-setup.

Loading a session includes setting the sync-source, this is queued
to happen during process(), which may or may not be while Session::Loading
is still set.

This change only catches the common case: internal transport, no slave.
This commit is contained in:
Robin Gareus
2018-07-30 17:32:03 +02:00
parent e951a55d02
commit 592496eb09

View File

@@ -1740,6 +1740,10 @@ Session::use_sync_source (Slave* new_slave)
{
/* Runs in process() context */
if (!_slave && !new_slave) {
return;
}
bool non_rt_required = false;
/* XXX this deletion is problematic because we're in RT context */