diff options
Diffstat (limited to 'lib/base/thread.cpp')
| -rw-r--r-- | lib/base/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base/thread.cpp b/lib/base/thread.cpp index 08ddc1fb..a3edef3e 100644 --- a/lib/base/thread.cpp +++ b/lib/base/thread.cpp @@ -19,7 +19,7 @@ void *eThread::wrapper(void *ptr) pthread_cleanup_push( thread_completed, (void*)p ); p->thread(); pthread_exit(0); - pthread_cleanup_pop(0); + pthread_cleanup_pop(1); return 0; } |
