Skip to content

Commit

Permalink
Don't stop the thread pool if it wasn't started
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Feb 18, 2014
1 parent 64757f6 commit 11a549b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/threads.c
Expand Up @@ -1050,6 +1050,8 @@ void thread_pool_stop(void)
THREAD_HANDLE *handle;
THREAD_HANDLE *next;

if (!pool_initialized) return;

/*
* Set pool stop flag.
*/
Expand Down

0 comments on commit 11a549b

Please sign in to comment.