summaryrefslogtreecommitdiff
path: root/src/anytun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/anytun.cpp')
-rw-r--r--src/anytun.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/anytun.cpp b/src/anytun.cpp
index 4d367f1..16021a2 100644
--- a/src/anytun.cpp
+++ b/src/anytun.cpp
@@ -442,6 +442,7 @@ int main(int argc, char* argv[])
boost::thread* syncListenerThread = NULL;
if(gOpt.getLocalSyncPort() != "") {
syncListenerThread = new boost::thread(boost::bind(syncListener));
+ if(syncListenerThread) syncListenerThread->detach();
}
boost::thread_group connectThreads;