summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-02-14 18:42:45 +0100
committerRobin Gareus <robin@gareus.org>2020-02-14 18:42:45 +0100
commit1341e18cacd526f4aca831e5ce633d02f93df5a5 (patch)
tree8af8a013e8b8c28f0f2387044056e29e9922cc20 /libs/ardour/session_state.cc
parent5794d21a76930d3cc1909c3d40dcc53af66c8ad5 (diff)
Fix potential deadlock (session-template with latent procs)
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc3
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 */