Don't shut down a client if it is not connected.

master
Peter Nelson 2010-01-24 21:06:46 +00:00
parent b971b9b4c1
commit d3c5ac6bbf
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ bool Client::open(const char *name)
void Client::close()
{
if (m_client == NULL) return;
jack_deactivate(m_client);
jack_client_close(m_client);
}