JACK backend: avoid deadlock if a port is unregistered that is not known to Ardour
This commit is contained in:
parent
7980ea4d27
commit
95215ff405
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user