* Forcefully try to terminate the application. * * @param exit_code The exit code to return. */
| 72 | * @param exit_code The exit code to return. |
| 73 | */ |
| 74 | [[noreturn]] static void ImmediateExitProcess(uint exit_code) |
| 75 | { |
| 76 | /* TerminateProcess may fail in some special edge cases; fall back to ExitProcess in this case. */ |
| 77 | TerminateProcess(GetCurrentProcess(), exit_code); |
| 78 | ExitProcess(exit_code); |
| 79 | } |
| 80 | |
| 81 | /** |
| 82 | * Windows implementation for the crash logger. |
no outgoing calls
no test coverage detected