Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7211)

Unified Diff: chrome/common/child_process.cc

Issue 28057: Tenative fix to see if the reliability crashes go away. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/child_process.cc
===================================================================
--- chrome/common/child_process.cc (revision 10212)
+++ chrome/common/child_process.cc (working copy)
@@ -32,6 +32,10 @@
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698