summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/thread.cc b/base/thread.cc
index 5fc8678..09f20a7 100644
--- a/base/thread.cc
+++ b/base/thread.cc
@@ -121,7 +121,7 @@ void Thread::StopSoon() {
// We should only be called on the same thread that started us.
DCHECK_NE(thread_id_, PlatformThread::CurrentId());
- if (!message_loop_ || stopping_)
+ if (stopping_ || !message_loop_)
return;
stopping_ = true;