mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
call BaseUI::quit() from inside the MIDI Control UI destructor, to properly shutdown its thread
This commit is contained in:
parent
543099afba
commit
82bce6cc76
1 changed files with 4 additions and 0 deletions
|
|
@ -52,7 +52,11 @@ MidiControlUI::MidiControlUI (Session& s)
|
||||||
|
|
||||||
MidiControlUI::~MidiControlUI ()
|
MidiControlUI::~MidiControlUI ()
|
||||||
{
|
{
|
||||||
|
/* stop the thread */
|
||||||
|
quit ();
|
||||||
|
/* drop all ports as GIO::Sources */
|
||||||
clear_ports ();
|
clear_ports ();
|
||||||
|
/* we no longer exist */
|
||||||
_instance = 0;
|
_instance = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue