mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +00:00
Do not try to unregister ports with a lost jackd.
libjack seems to get stuck when unregistering ports with a broken connection.
This commit is contained in:
parent
8ac9ff0134
commit
d18aa2fe3e
1 changed files with 4 additions and 2 deletions
|
@ -354,8 +354,10 @@ s_shutdown (void)
|
|||
int i;
|
||||
if (jack_handle) {
|
||||
jack_deactivate (jack_handle);
|
||||
if (!snd_shutdown) {
|
||||
for (i = 0; i < 2; i++)
|
||||
jack_port_unregister (jack_handle, jack_out[i]);
|
||||
}
|
||||
jack_client_close (jack_handle);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue