call BaseUI::quit() from inside the MIDI Control UI destructor, to properly shutdown its thread
This commit is contained in:
parent
543099afba
commit
82bce6cc76
@ -52,7 +52,11 @@ MidiControlUI::MidiControlUI (Session& s)
|
||||
|
||||
MidiControlUI::~MidiControlUI ()
|
||||
{
|
||||
/* stop the thread */
|
||||
quit ();
|
||||
/* drop all ports as GIO::Sources */
|
||||
clear_ports ();
|
||||
/* we no longer exist */
|
||||
_instance = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user