Skip to content
Browse files

Detach threads that we will never join

  • Loading branch information...
1 parent 8adb87c commit c3e9fa188b765e8f1fd31e07108af295bb299ee4 @armon committed May 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/conn_handler.c
View
1 src/conn_handler.c
@@ -107,6 +107,7 @@ void flush_interval_trigger() {
// Start a flush thread
pthread_t thread;
pthread_create(&thread, NULL, flush_thread, old);
+ pthread_detach(thread);
}
/**

0 comments on commit c3e9fa1

Please sign in to comment.
Something went wrong with that request. Please try again.