summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Thread.cpp2
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;
}