From 171a3c4a0ddd18d2afae56f3af6291c8e96ee3ac Mon Sep 17 00:00:00 2001 From: sletz Date: Tue, 16 Dec 2008 09:16:02 +0000 Subject: Client and library global context cleanup in case of incorrect shutdown handling (that is applications not correctly closing client after server has shutdown). git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3207 0c269be4-1314-0410-8aa9-9f06e86f4224 --- common/JackInternalClient.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common/JackInternalClient.cpp') diff --git a/common/JackInternalClient.cpp b/common/JackInternalClient.cpp index 8e596255..a8d2a9f5 100644 --- a/common/JackInternalClient.cpp +++ b/common/JackInternalClient.cpp @@ -141,7 +141,9 @@ int JackInternalClient::Open(const char* server_name, const char* name, jack_opt } SetupDriverSync(false); - fClientTable[fClientControl.fRefNum] = this; + JackGlobals::fClientTable[fClientControl.fRefNum] = this; + JackGlobals::fServerRunning = true; + jack_log("JackInternalClient::Open name = %s refnum = %ld", name_res, fClientControl.fRefNum); return 0; error: -- cgit v1.2.1