triggerboxui: explicitly disconnect from update/selection signals
sigc::connection is not scoped, so disconnection is not automation
This commit is contained in:
parent
c58a2a5749
commit
d5e13f093f
@ -417,8 +417,11 @@ TriggerBoxUI::TriggerBoxUI (ArdourCanvas::Item* parent, TriggerBox& tb)
|
|||||||
|
|
||||||
TriggerBoxUI::~TriggerBoxUI ()
|
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 ();
|
_selection_connection.disconnect ();
|
||||||
|
_update_connection.disconnect ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user