summaryrefslogtreecommitdiff
path: root/windows/JackWinServerLaunch.cpp
diff options
context:
space:
mode:
authorsletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224>2012-01-17 14:49:59 +0000
committersletz <sletz@0c269be4-1314-0410-8aa9-9f06e86f4224>2012-01-17 14:49:59 +0000
commit92ccd4f840d8481e715aa80400c97c19acd5d40d (patch)
tree175e9e278ecac5ee5985b7fa4ba1ab6a4aca5f5b /windows/JackWinServerLaunch.cpp
parent5d7fbdc06671aa0116719e135cf1758cfc1a783e (diff)
downloadjack2-92ccd4f840d8481e715aa80400c97c19acd5d40d.tar.gz
Works again on Windows.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4702 0c269be4-1314-0410-8aa9-9f06e86f4224
Diffstat (limited to 'windows/JackWinServerLaunch.cpp')
-rw-r--r--windows/JackWinServerLaunch.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/windows/JackWinServerLaunch.cpp b/windows/JackWinServerLaunch.cpp
index d90674ad..495b3491 100644
--- a/windows/JackWinServerLaunch.cpp
+++ b/windows/JackWinServerLaunch.cpp
@@ -285,9 +285,12 @@ static int server_connect(const char* server_name)
{
JackClientChannel channel;
int res = channel.ServerCheck(server_name);
- channel.Close();
+ channel.Close();
+ /*
JackSleep(2000); // Added by JE - 02-01-2009 (gives
- // the channel some time to close)
+ // the channel some time to close)
+ */
+ JackSleep(500);
return res;
}