summaryrefslogtreecommitdiff
path: root/src/components/utils/src/threads/thread_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/utils/src/threads/thread_delegate.cc')
-rw-r--r--src/components/utils/src/threads/thread_delegate.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/utils/src/threads/thread_delegate.cc b/src/components/utils/src/threads/thread_delegate.cc
index 7bdce000da..917603f92c 100644
--- a/src/components/utils/src/threads/thread_delegate.cc
+++ b/src/components/utils/src/threads/thread_delegate.cc
@@ -52,6 +52,7 @@ void ThreadDelegate::exitThreadMain() {
} else {
pthread_cancel(thread_->thread_handle());
}
+ thread_ = NULL;
}
}