add 0.5 second sleep after closing JACK connection so that next startup/connect is likely to work (allowing JACK time to shutdown). Ugh
This commit is contained in:
parent
56716a1f28
commit
611d93830a
@ -143,7 +143,12 @@ JackConnection::close ()
|
|||||||
if (_priv_jack) {
|
if (_priv_jack) {
|
||||||
int ret = jack_client_close (_priv_jack);
|
int ret = jack_client_close (_priv_jack);
|
||||||
_jack = 0;
|
_jack = 0;
|
||||||
|
|
||||||
|
/* If we started JACK, it will be closing down */
|
||||||
|
usleep (500000);
|
||||||
|
|
||||||
Disconnected (""); /* EMIT SIGNAL */
|
Disconnected (""); /* EMIT SIGNAL */
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user