From ed8803c1b0ab3af1782c3a4bf20ce0c58351c28d Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Tue, 7 Sep 2010 23:12:26 +0300 Subject: [PATCH] self-disconnection checks should not be made when disconnections are implicit because of port unregistration --- common/JackEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/JackEngine.cpp b/common/JackEngine.cpp index 0f71e781..489ad08a 100644 --- a/common/JackEngine.cpp +++ b/common/JackEngine.cpp @@ -753,7 +753,7 @@ int JackEngine::PortUnRegister(int refnum, jack_port_id_t port_index) JackClientInterface* client = fClientTable[refnum]; // Disconnect port ==> notification is sent - PortDisconnect(refnum, port_index, ALL_PORTS); + PortDisconnect(-1, port_index, ALL_PORTS); if (fGraphManager->ReleasePort(refnum, port_index) == 0) { if (client->GetClientControl()->fActive) -- 2.11.4.GIT