diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 16:10:01 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 16:10:01 +0000 |
commit | e0a89d9555ffb8575be21c3a96564d59aeb44c82 (patch) | |
tree | 5b3ca8e4637b8d194db5f5d96b70457a60bd99a6 /base/thread.cc | |
parent | 8c2990ccf93794012497fe2a03291392abf400e0 (diff) | |
download | chromium_src-e0a89d9555ffb8575be21c3a96564d59aeb44c82.zip chromium_src-e0a89d9555ffb8575be21c3a96564d59aeb44c82.tar.gz chromium_src-e0a89d9555ffb8575be21c3a96564d59aeb44c82.tar.bz2 |
Revert 5607 because it caused a base_unittest failure.
Review URL: http://codereview.chromium.org/11234
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/thread.cc')
-rw-r--r-- | base/thread.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/thread.cc b/base/thread.cc index 9bc81a4..fd076a4 100644 --- a/base/thread.cc +++ b/base/thread.cc @@ -131,6 +131,9 @@ void Thread::StopSoon() { DCHECK(message_loop_); message_loop_->PostTask(FROM_HERE, new ThreadQuitTask()); + + // The thread can't receive messages anymore. + message_loop_ = NULL; } void Thread::ThreadMain() { |