< prev index next >
src/os/windows/vm/os_windows.cpp
Print this page
*** 1977,1987 ****
// that raises SIGTERM for the latter cases.
//
static BOOL WINAPI consoleHandler(DWORD event) {
switch (event) {
case CTRL_C_EVENT:
! if (is_error_reported()) {
// Ctrl-C is pressed during error reporting, likely because the error
// handler fails to abort. Let VM die immediately.
os::die();
}
--- 1977,1987 ----
// that raises SIGTERM for the latter cases.
//
static BOOL WINAPI consoleHandler(DWORD event) {
switch (event) {
case CTRL_C_EVENT:
! if (VMError::is_error_reported()) {
// Ctrl-C is pressed during error reporting, likely because the error
// handler fails to abort. Let VM die immediately.
os::die();
}
< prev index next >