mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
improved port cleanup as backend is destroyed
This commit is contained in:
parent
ec9784764c
commit
78a66b7180
5 changed files with 10 additions and 0 deletions
|
|
@ -129,6 +129,9 @@ CoreAudioBackend::~CoreAudioBackend ()
|
|||
{
|
||||
delete _pcmio; _pcmio = 0;
|
||||
delete _midiio; _midiio = 0;
|
||||
|
||||
clear_ports ();
|
||||
|
||||
pthread_mutex_destroy (&_port_callback_mutex);
|
||||
pthread_mutex_destroy (&_port_registration_mutex);
|
||||
pthread_mutex_destroy (&_process_callback_mutex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue