Commit 69095878 authored by jam@chromium.org's avatar jam@chromium.org

Try to get more information to track down 140054, specifically to see whether...

Try to get more information to track down 140054, specifically to see whether OnChannelError is being called.
Review URL: https://chromiumcodereview.appspot.com/10836115

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150111 0039d316-1c4b-4281-b951-d872f2087c98
parent 61be42da
...@@ -59,6 +59,7 @@ class SuicideOnChannelErrorFilter : public IPC::ChannelProxy::MessageFilter { ...@@ -59,6 +59,7 @@ class SuicideOnChannelErrorFilter : public IPC::ChannelProxy::MessageFilter {
// We want to kill this process after giving it 30 seconds to run the exit // We want to kill this process after giving it 30 seconds to run the exit
// handlers. SIGALRM has a default disposition of terminating the // handlers. SIGALRM has a default disposition of terminating the
// application. // application.
LOG(INFO) << "SuicideOnChannelErrorFilter::OnChannelError";
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kChildCleanExit)) if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kChildCleanExit))
alarm(30); alarm(30);
else else
...@@ -136,6 +137,7 @@ ChildThread::~ChildThread() { ...@@ -136,6 +137,7 @@ ChildThread::~ChildThread() {
} }
void ChildThread::OnChannelError() { void ChildThread::OnChannelError() {
LOG(INFO) << "ChildThread::OnChannelError";
set_on_channel_error_called(true); set_on_channel_error_called(true);
MessageLoop::current()->Quit(); MessageLoop::current()->Quit();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment