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

Unified Diff: content/common/mojo/embedded_application_runner.cc

Issue 2140673003: Fix race in EmbeddedApplicationRunner::ShutDown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: content/common/mojo/embedded_application_runner.cc
diff --git a/content/common/mojo/embedded_application_runner.cc b/content/common/mojo/embedded_application_runner.cc
index c0257e19e4ae6b3015e8f29024400a7af9aec3f0..5d7abed900d54549082faca86bd848afaba85048 100644
--- a/content/common/mojo/embedded_application_runner.cc
+++ b/content/common/mojo/embedded_application_runner.cc
@@ -53,8 +53,8 @@ class EmbeddedApplicationRunner::Instance
void ShutDown() {
DCHECK(runner_thread_checker_.CalledOnValidThread());
if (thread_) {
- application_task_runner_ = nullptr;
thread_.reset();
+ application_task_runner_ = nullptr;
}
}
« 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