Fix potential deadlock (session-template with latent procs)

This commit is contained in:
Robin Gareus 2020-02-14 18:42:45 +01:00
parent 5794d21a76
commit 1341e18cac
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -325,6 +325,9 @@ Session::post_engine_init ()
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) { for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
(*i)->configure_processors (0); (*i)->configure_processors (0);
} }
/* release process-lock, ProcessorChangeBlocker may trigger
* latency-callback from non-rt thread which may take the lock */
lx.release ();
} }
/* Reset all panners */ /* Reset all panners */