summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/route.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 8efe1315bc..33a6c13080 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -2815,6 +2815,7 @@ Route::set_processor_state (const XMLNode& node)
}
{
+ Glib::Threads::Mutex::Lock lx (AudioEngine::instance()->process_lock ());
Glib::Threads::RWLock::WriterLock lm (_processor_lock);
/* re-assign _processors w/o process-lock.
* if there's an IO-processor present in _processors but
@@ -2822,7 +2823,6 @@ Route::set_processor_state (const XMLNode& node)
* a process lock.
*/
_processors = new_order;
- Glib::Threads::Mutex::Lock lx (AudioEngine::instance()->process_lock ());
if (must_configure) {
configure_processors_unlocked (0, &lm);