13
0

JACK backend: avoid deadlock if a port is unregistered that is not known to Ardour

This commit is contained in:
Paul Davis 2021-06-13 07:59:14 -06:00
parent 7980ea4d27
commit 95215ff405

View File

@ -258,6 +258,8 @@ JACKAudioBackend::jack_registration_callback (jack_port_id_t id, int reg)
if (!reg) {
if (ports->erase (name)) {
_jack_ports.update (ports);
} else {
_jack_ports.no_update();
}
} else {
if (ports->find (name) != ports->end()) {