diff options
Diffstat (limited to 'src/Thread.cpp')
-rw-r--r-- | src/Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Thread.cpp b/src/Thread.cpp index 045db0f..a5a6e73 100644 --- a/src/Thread.cpp +++ b/src/Thread.cpp @@ -108,7 +108,7 @@ Thread::stop() pthread_cancel(_pthread); pthread_join(_pthread, NULL); } - _pthread = NULL; + _pthread = 0; _pthread_exists = false; LOG(info) << "Exiting thread" << endl; } |