diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-24 01:36:56 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-24 01:36:56 +0000 |
commit | 6ff17cf0232de8a8b1dbd3e10762260c2f7f066e (patch) | |
tree | efe4c8803eab49b457adfc5eb9241e6aa1a90b48 /chrome/common/child_process.cc | |
parent | a8b39428c03bf1b47537029e0dc5d94785c27051 (diff) | |
download | chromium_src-6ff17cf0232de8a8b1dbd3e10762260c2f7f066e.zip chromium_src-6ff17cf0232de8a8b1dbd3e10762260c2f7f066e.tar.gz chromium_src-6ff17cf0232de8a8b1dbd3e10762260c2f7f066e.tar.bz2 |
Tenative fix to see if the reliability crashes go away.
BUG=7951
Review URL: http://codereview.chromium.org/28057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10241 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process.cc')
-rw-r--r-- | chrome/common/child_process.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/child_process.cc b/chrome/common/child_process.cc index 934583a..65c2622 100644 --- a/chrome/common/child_process.cc +++ b/chrome/common/child_process.cc @@ -32,6 +32,10 @@ ChildProcess::~ChildProcess() { if (child_thread_.get()) child_thread_->Stop(); + // Make sure the child thread goes away first before setting child_process_ to + // NULL since it can use it. + child_thread_.reset(); + child_process_ = NULL; } |