Permalink
Browse files

Fix for KillServer.

  • Loading branch information...
1 parent 2e6344a commit dd97d191240de8d09e709f6b1a8c4fafdac0a030 @sletz sletz committed Jun 6, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 common/JackTools.cpp
View
@@ -37,7 +37,11 @@ namespace Jack {
void JackTools::KillServer()
{
+ #ifdef WIN32
raise(SIGINT);
+ #else
+ kill(GetPID(), SIGINT);
+ #endif
}
void JackTools::ThrowJackNetException()

0 comments on commit dd97d19

Please sign in to comment.