Chromium Code Reviews| Index: handler/handler_main.cc |
| diff --git a/handler/handler_main.cc b/handler/handler_main.cc |
| index 16855fa82642e9ef92605ec600e35d4195a6cdb5..378ef79716cd724c927dd0348bca34b1fb31481a 100644 |
| --- a/handler/handler_main.cc |
| +++ b/handler/handler_main.cc |
| @@ -337,6 +337,10 @@ int HandlerMain(int argc, char* argv[]) { |
| reset_sigterm.reset(&old_sa); |
| } |
| #elif defined(OS_WIN) |
| + // Shut down as late as possible relative to programs we're watching. |
| + if (!SetProcessShutdownParameters(0x100, SHUTDOWN_NORETRY)) |
| + LOG(ERROR) << "SetProcessShutdownParameters"; |
|
Mark Mentovai
2015/12/09 00:51:52
PLOG instead of LOG
scottmg
2015/12/09 00:54:50
Oops, thanks.
|
| + |
| ExceptionHandlerServer exception_handler_server(!options.pipe_name.empty()); |
| if (!options.pipe_name.empty()) { |