diff --git a/src/coreclr/src/vm/ceemain.cpp b/src/coreclr/src/vm/ceemain.cpp index b1cbb7ba94709..fb44d3e6a6803 100644 --- a/src/coreclr/src/vm/ceemain.cpp +++ b/src/coreclr/src/vm/ceemain.cpp @@ -401,7 +401,7 @@ static BOOL WINAPI DbgCtrlCHandler(DWORD dwCtrlType) else #endif // DEBUGGING_SUPPORTED { - if (dwCtrlType == CTRL_CLOSE_EVENT) + if (dwCtrlType == CTRL_CLOSE_EVENT || dwCtrlType == CTRL_SHUTDOWN_EVENT) { // Initiate shutdown so the ProcessExit handlers run ForceEEShutdown(SCA_ReturnWhenShutdownComplete);