Don't shut down a client if it is not connected.
parent
b971b9b4c1
commit
d3c5ac6bbf
|
@ -28,6 +28,8 @@ bool Client::open(const char *name)
|
||||||
|
|
||||||
void Client::close()
|
void Client::close()
|
||||||
{
|
{
|
||||||
|
if (m_client == NULL) return;
|
||||||
|
|
||||||
jack_deactivate(m_client);
|
jack_deactivate(m_client);
|
||||||
jack_client_close(m_client);
|
jack_client_close(m_client);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue