13
0

call BaseUI::quit() from inside the MIDI Control UI destructor, to properly shutdown its thread

This commit is contained in:
Paul Davis 2014-03-13 17:14:50 -04:00
parent 543099afba
commit 82bce6cc76

View File

@ -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;
}