summaryrefslogtreecommitdiff
path: root/libs/ardour/route.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-04-23 18:25:32 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-05-31 15:30:41 -0400
commitbe4e898996837f718627c34d62dd42e6825103b7 (patch)
tree1f1a531c0b65fb35a2cb9c2e30c33653a0859239 /libs/ardour/route.cc
parent51064f77a874f15c2cebd4fed12996177f951936 (diff)
improve cleanup of VCA related objects
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r--libs/ardour/route.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 64f8764303..78e0228382 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -5442,6 +5442,8 @@ Route::slaved_to (boost::shared_ptr<VCA> vca) const
return false;
}
+ /* just test one particular control, not all of them */
+
return _gain_control->slaved_to (vca->gain_control());
}