Browse Source

No more client close in JackEngine::Close()

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2231 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.90
sletz 17 years ago
parent
commit
02c00f0ffb
2 changed files with 1 additions and 2 deletions
  1. +1
    -0
      ChangeLog
  2. +0
    -2
      common/JackEngine.cpp

+ 1
- 0
ChangeLog View File

@@ -23,6 +23,7 @@ Fernando Lopez-Lezcano
2008-05-05 Stephane Letz <letz@grame.fr>

* 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 <letz@grame.fr>



+ 0
- 2
common/JackEngine.cpp View File

@@ -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;
}
}


Loading…
Cancel
Save