Merge branch 'master' into cairocanvas
[ardour.git] / libs / backends / jack / jack_connection.cc
index b3d7fcecc479e87423a4dd651205d49ccf3a205c..09e6c9d6e7c02d2a4ba5d7c20eac7c6a63339068 100644 (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;
        }