13
0

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:
Paul Davis 2013-11-27 15:25:10 -05:00
parent 56716a1f28
commit 611d93830a

View File

@ -143,7 +143,12 @@ JackConnection::close ()
if (_priv_jack) {
int ret = jack_client_close (_priv_jack);
_jack = 0;
/* If we started JACK, it will be closing down */
usleep (500000);
Disconnected (""); /* EMIT SIGNAL */
return ret;
}