mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-20 20:36:01 +01:00
MixerScene: handle edge-case with midi-cc/bender controllables
This commit is contained in:
parent
effc209070
commit
9e11ef4f39
1 changed files with 6 additions and 1 deletions
|
|
@ -151,7 +151,12 @@ Controllable::registered_controllables ()
|
|||
ControllableSet rv;
|
||||
Glib::Threads::RWLock::ReaderLock lm (registry_lock);
|
||||
for (auto const& i : registry) {
|
||||
rv.insert (i->shared_from_this ());
|
||||
try {
|
||||
rv.insert (i->shared_from_this ());
|
||||
} catch (...) {
|
||||
/* ignore boost::bad_weak_ptr */
|
||||
// cout << "No shared ctrl: " << i->name() << "\n";
|
||||
}
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue