diff options
Diffstat (limited to 'raul/Thread.h')
-rw-r--r-- | raul/Thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/raul/Thread.h b/raul/Thread.h index 8e402f7..56497d6 100644 --- a/raul/Thread.h +++ b/raul/Thread.h @@ -133,6 +133,7 @@ private: pthread_setspecific(_thread_key, me); Thread* myself = (Thread*)me; myself->_run(); + myself->_pthread_exists = false; return NULL; // and I } |