From 0689a2976e7632e9d219acb784365fa3f1211d56 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Thu, 13 Nov 2014 13:07:34 +0000 Subject: [PATCH] Don't iterate in 'ARDOUR::Route::get_control()' unless a ReaderLock was successfully obtained --- libs/ardour/route.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 0ecbe29995..d67c1bbd86 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -3785,7 +3785,7 @@ Route::get_control (const Evoral::Parameter& param) /* maybe one of our processors does or ... */ - Glib::Threads::RWLock::ReaderLock rm (_processor_lock, Glib::Threads::TRY_LOCK); + Glib::Threads::RWLock::ReaderLock rm (_processor_lock); for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) { if ((c = boost::dynamic_pointer_cast((*i)->control (param))) != 0) { break;