Commit 86d4357b authored by sletz's avatar sletz
Browse files

Fix a crash in JackEngine::Close when backend cannot be loaded.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3021 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 407b735a
......@@ -23,6 +23,10 @@ Michael Voigt
Jackdmp changes log
---------------------------
2008-10-15 Stephane Letz <letz@grame.fr>
* Fix a crash in JackEngine::Close when backend cannot be loaded.
2008-10-15 Stephane Letz <letz@grame.fr>
* Fix a conflict with Audio Hijack in JackCoreAudioDriver.
......
......@@ -71,7 +71,7 @@ int JackEngine::Close()
fChannel.Close();
// Close remaining clients (RT is stopped)
for (int i = 0; i < CLIENT_NUM; i++) {
for (int i = REAL_REFNUM; i < CLIENT_NUM; i++) {
if (JackLoadableInternalClient* loadable_client = dynamic_cast<JackLoadableInternalClient*>(fClientTable[i])) {
jack_log("JackEngine::Close loadable client = %s", loadable_client->GetClientControl()->fName);
loadable_client->Close();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment