Commit 20242abd authored by rvargas@google.com's avatar rvargas@google.com

Revert 138014 - Base: Don't overwrite the thread id when ThreadMain exits. There's

no need to do that, and it makes debugging easier to have the value.

BUG=127931
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10388202

TBR=rvargas@google.com
Review URL: https://chromiumcodereview.appspot.com/10383256

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138018 0039d316-1c4b-4281-b951-d872f2087c98
parent 84007276
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
...@@ -171,6 +171,7 @@ void Thread::ThreadMain() { ...@@ -171,6 +171,7 @@ void Thread::ThreadMain() {
// We can't receive messages anymore. // We can't receive messages anymore.
message_loop_ = NULL; message_loop_ = NULL;
} }
thread_id_ = kInvalidThreadId;
} }
} // namespace base } // namespace base
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment