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

Unified Diff: chrome/service/service_process.cc

Issue 2514113003: Revert of Require FilePathWatcher destructor to be called in sequence with Watch(). (Closed)
Patch Set: Created 4 years, 1 month 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 | « chrome/common/service_process_util_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_process.cc
diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc
index a29cc1db80d361012977c1c1e26707d148b9cd15..0dca832cbbfac04d8317f8dbdec2ab82696973e7 100644
--- a/chrome/service/service_process.cc
+++ b/chrome/service/service_process.cc
@@ -237,11 +237,6 @@
mojo_ipc_support_.reset();
ipc_server_.reset();
-
- // On POSIX, this must be called before joining |io_thread_| because it posts
- // a DeleteSoon() task to that thread.
- service_process_state_->SignalStopped();
-
// Signal this event before shutting down the service process. That way all
// background threads can cleanup.
shutdown_event_.Signal();
@@ -262,6 +257,7 @@
// might use it have been shut down.
network_change_notifier_.reset();
+ service_process_state_->SignalStopped();
return true;
}
« no previous file with comments | « chrome/common/service_process_util_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698