SocketHandler thread can be detached
authorPieter Wuille <pieter.wuille@gmail.com>
Mon, 19 Sep 2011 11:08:22 +0000 (13:08 +0200)
committerPieter Wuille <pieter.wuille@gmail.com>
Mon, 19 Sep 2011 11:08:22 +0000 (13:08 +0200)
src/net.cpp

index 509d890..2e257a6 100644 (file)
@@ -1713,7 +1713,7 @@ void StartNode(void* parg)
         printf("Error: CreateThread(ThreadIRCSeed) failed\n");
 
     // Send and receive from sockets, accept connections
-    CreateThread(ThreadSocketHandler, NULL, true);
+    CreateThread(ThreadSocketHandler, NULL);
 
     // Initiate outbound connections
     if (!CreateThread(ThreadOpenConnections, NULL))