mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
derive TriggerUI from sigc::trackable so that it can be automically disconnected from signals
The explicit disconnect in the destructor prevents any more signal->connection firing, but the invalidator is required to remove existing queued slot calls in the receiving thread
This commit is contained in:
parent
87bcd4d83b
commit
11fd0b84b1
2 changed files with 9 additions and 6 deletions
|
|
@ -37,7 +37,7 @@ namespace Gtk
|
|||
|
||||
class TriggerJumpDialog;
|
||||
|
||||
class TriggerUI
|
||||
class TriggerUI : virtual public sigc::trackable
|
||||
{
|
||||
public:
|
||||
TriggerUI ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue