mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-24 06:10:09 +01:00
Leak of MidiThread fixed.
This commit is contained in:
@@ -626,6 +626,7 @@ AudioIO::~AudioIO()
|
||||
#ifdef EXPERIMENTAL_MIDI_OUT
|
||||
Pm_Terminate();
|
||||
mMidiThread->Delete();
|
||||
delete mMidiThread;
|
||||
#endif
|
||||
|
||||
/* Delete is a "graceful" way to stop the thread.
|
||||
|
||||
Reference in New Issue
Block a user