Do not block shutdown for process launch on Windows
Launching a process is racy with browser shutdown, and blocks it. So we see shutdown hangs when process launch takes a long time. This CL makes the process launcher use a CONTINUE_ON_SHUTDOWN instead of BLOCK_SHUTDOWN task on Windows where it's presumably safe to do so given no non-leaky globals are used, and based on local testing. This is not safe on Linux since the process launcher there uses SandboxHostLinux which is a non-leaky base::Singleton. R=brucedawson,gab BUG=830954 Change-Id: Ia8c5295924288819dcfdcc087d282a05e6ee7e55 Reviewed-on: https://chromium-review.googlesource.com/1020720Reviewed-by:Antoine Labour <piman@chromium.org> Reviewed-by:
Bruce Dawson <brucedawson@chromium.org> Reviewed-by:
Gabriel Charette <gab@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Cr-Commit-Position: refs/heads/master@{#553294}
Showing
Please register or sign in to comment