From 02c00f0ffbd126e1e6e737c38aba960034c55552 Mon Sep 17 00:00:00 2001 From: sletz Date: Mon, 5 May 2008 15:51:12 +0000 Subject: [PATCH] No more client close in JackEngine::Close() git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2231 0c269be4-1314-0410-8aa9-9f06e86f4224 --- ChangeLog | 1 + common/JackEngine.cpp | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 254233d5..ab305b04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,7 @@ Fernando Lopez-Lezcano 2008-05-05 Stephane Letz * Fix JackClient::Close : notification channel is stopped first to avoid receiving notifications while closing and Close is again a synchronous call. + * No more client close in JackEngine::Close(). 2008-05-01 Stephane Letz diff --git a/common/JackEngine.cpp b/common/JackEngine.cpp index 1221987a..0c7ed68f 100644 --- a/common/JackEngine.cpp +++ b/common/JackEngine.cpp @@ -75,13 +75,11 @@ int JackEngine::Close() jack_log("JackEngine::Close"); fChannel->Close(); - // Close (possibly) remaining clients (RT is stopped) for (int i = 0; i < CLIENT_NUM; i++) { JackClientInterface* client = fClientTable[i]; if (client) { jack_log("JackEngine::Close remaining client %ld", i); fClientTable[i] = NULL; - client->Close(); delete client; } }