diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-14 18:42:45 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-14 18:42:45 +0100 |
commit | 1341e18cacd526f4aca831e5ce633d02f93df5a5 (patch) | |
tree | 8af8a013e8b8c28f0f2387044056e29e9922cc20 /libs/ardour/session_state.cc | |
parent | 5794d21a76930d3cc1909c3d40dcc53af66c8ad5 (diff) |
Fix potential deadlock (session-template with latent procs)
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 87584ce89c..73d65ba7b6 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -325,6 +325,9 @@ Session::post_engine_init () for (RouteList::iterator i = r->begin(); i != r->end(); ++i) { (*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 */ |