diff options
Diffstat (limited to 'content/browser/renderer_host/sandbox_ipc_linux.cc')
-rw-r--r-- | content/browser/renderer_host/sandbox_ipc_linux.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/content/browser/renderer_host/sandbox_ipc_linux.cc b/content/browser/renderer_host/sandbox_ipc_linux.cc index f156e30..7bcccc9 100644 --- a/content/browser/renderer_host/sandbox_ipc_linux.cc +++ b/content/browser/renderer_host/sandbox_ipc_linux.cc @@ -169,15 +169,18 @@ void SandboxIPCProcess::Run() { failed_polls = 0; + // The browser process will close the other end of this pipe on shutdown, + // so we should exit. if (pfds[0].revents) { - // our parent died so we should too. - _exit(0); + break; } if (pfds[1].revents) { HandleRequestFromRenderer(browser_socket_); } } + + VLOG(1) << "SandboxIPCProcess stopping."; } void SandboxIPCProcess::HandleRequestFromRenderer(int fd) { |