diff --git a/gtk2_ardour/triggerbox_ui.cc b/gtk2_ardour/triggerbox_ui.cc index 0ec6a21dfb..82eef9db64 100644 --- a/gtk2_ardour/triggerbox_ui.cc +++ b/gtk2_ardour/triggerbox_ui.cc @@ -417,8 +417,11 @@ TriggerBoxUI::TriggerBoxUI (ArdourCanvas::Item* parent, TriggerBox& tb) TriggerBoxUI::~TriggerBoxUI () { - _update_connection.disconnect (); + /* sigc connection's are not scoped (i.e. they do not disconnect the + functor from the signal when they are destroyed). + */ _selection_connection.disconnect (); + _update_connection.disconnect (); } void