| Index: content/browser/renderer_host/sandbox_ipc_linux.cc
|
| diff --git a/content/browser/renderer_host/sandbox_ipc_linux.cc b/content/browser/renderer_host/sandbox_ipc_linux.cc
|
| index f156e30b60584cf77ccfb27a1464727614b2df16..7bcccc923b0a440bf00a5307cda774e7ef6193e8 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) {
|
|
|