Commit 71793987 authored by sletz's avatar sletz
Browse files

Correct JackClient::ShutDown.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3064 0c269be4-1314-0410-8aa9-9f06e86f4224
parent f6c2f38b
......@@ -26,8 +26,9 @@ Michael Voigt
2008-10-30 Stephane Letz <letz@grame.fr>
* Fix Midi port initialization in JackNetDriver.
* Correct JackClient::ShutDown.
2008-10-15 Stephane Letz <letz@grame.fr>
2008-10-23 Stephane Letz <letz@grame.fr>
* Fix a crash in JackEngine::Close when backend cannot be loaded.
* Tim Blechmann optimization patch.
......
......@@ -597,8 +597,11 @@ void JackClient::ShutDown()
{
jack_log("ShutDown");
GetClientControl()->fServer = false;
GetClientControl()->fActive = false;
// Be sure client is already started
if (GetClientControl()) {
GetClientControl()->fServer = false;
GetClientControl()->fActive = false;
}
if (fShutdown) {
fShutdown(fShutdownArg);
......
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