summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2014-11-13 13:07:34 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2014-11-13 13:07:34 +0000
commit0689a2976e7632e9d219acb784365fa3f1211d56 (patch)
tree8901049c98f3d76f41eb542f5e53bd31f92b1ba7 /libs
parente59e8f6ab9f9763379ff1dfa957625a269542eee (diff)
Don't iterate in 'ARDOUR::Route::get_control()' unless a ReaderLock was successfully obtained
Diffstat (limited to 'libs')
-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 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<AutomationControl>((*i)->control (param))) != 0) {
break;