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

Unified Diff: content/child/child_thread.cc

Issue 19231006: chrome: respect --child-clean-exit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch is now working. Created 7 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: content/child/child_thread.cc
diff --git a/content/child/child_thread.cc b/content/child/child_thread.cc
index f5061bfe16c5432c278bcd7bc0b3f0d4a751b52b..08ed77b9d70f5899b3e5881bdf72ddcdccaf5466 100644
--- a/content/child/child_thread.cc
+++ b/content/child/child_thread.cc
@@ -75,7 +75,7 @@ class SuicideOnChannelErrorFilter : public IPC::ChannelProxy::MessageFilter {
// handlers. SIGALRM has a default disposition of terminating the
// application.
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kChildCleanExit))
- alarm(30);
+ return;
else
_exit(0);
}

Powered by Google App Engine
This is Rietveld 408576698