diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-04-29 11:07:27 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:42 -0400 |
commit | 0ab10bf8e37ba6e68bc9fb4bb2e2bff9daf9ca18 (patch) | |
tree | 59ff9c9037de7c14b7ed4bb9dc2ff9a9cb231d18 /libs/ardour/vca_manager.cc | |
parent | ba4464dc3ccf8dbe2c1641b2a49f58e513804b25 (diff) |
API and implementation tweaks for destroying VCAs
Diffstat (limited to 'libs/ardour/vca_manager.cc')
-rw-r--r-- | libs/ardour/vca_manager.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/vca_manager.cc b/libs/ardour/vca_manager.cc index e6143ea0b2..a6d9d2bc6f 100644 --- a/libs/ardour/vca_manager.cc +++ b/libs/ardour/vca_manager.cc @@ -103,10 +103,9 @@ VCAManager::remove_vca (boost::shared_ptr<VCA> vca) _vcas.remove (vca); } - VCAList vcal; - vcal.push_back (vca); + /* this should cause deassignment and deletion */ - VCARemoved (vcal); /* EMIT SIGNAL */ + vca->DropReferences (); } boost::shared_ptr<VCA> |