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

Unified Diff: mojo/services/network/main.cc

Issue 372273004: Shutdown cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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
Index: mojo/services/network/main.cc
diff --git a/mojo/services/network/main.cc b/mojo/services/network/main.cc
index 3cfc74f43f06c5008da70af9870b89ebd2c8ee9d..a3f397d8a5b2cf226e3676de854a74347f54fc1a 100644
--- a/mojo/services/network/main.cc
+++ b/mojo/services/network/main.cc
@@ -62,7 +62,9 @@ class Delegate : public mojo::ApplicationDelegate {
extern "C" APPLICATION_EXPORT MojoResult CDECL MojoMain(
MojoHandle shell_handle) {
base::CommandLine::Init(0, NULL);
+#if !defined(COMPONENT_BUILD)
base::AtExitManager at_exit;
+#endif
// The IO message loop allows us to use net::URLRequest on this thread.
base::MessageLoopForIO loop;

Powered by Google App Engine
This is Rietveld 408576698