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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/utils/src/threads/thread_delegate.cc b/src/components/utils/src/threads/thread_delegate.cc
index 1436ea3377..0e71ca3f59 100644
--- a/src/components/utils/src/threads/thread_delegate.cc
+++ b/src/components/utils/src/threads/thread_delegate.cc
@@ -56,7 +56,7 @@ void ThreadDelegate::exitThreadMain() {
}
void ThreadDelegate::set_thread(Thread *thread) {
- DCHECK(thread && !thread->is_running());
+ DCHECK(thread);
thread_ = thread;
}