diff options
-rw-r--r-- | src/coreclr/vm/eepolicy.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/coreclr/vm/eepolicy.cpp b/src/coreclr/vm/eepolicy.cpp index b9084568144..d9e81754ca2 100644 --- a/src/coreclr/vm/eepolicy.cpp +++ b/src/coreclr/vm/eepolicy.cpp @@ -361,6 +361,7 @@ void LogInfoForFatalError(UINT exitCode, LPCWSTR pszMessage, LPCWSTR errorSource } else if (pPreviousThread != nullptr) { + GCX_PREEMP(); // Avoid blocking other threads that may be trying to suspend the runtime while (s_pCrashingThread != FatalErrorLoggingFinished) { ClrSleepEx(50, /*bAlertable*/ FALSE); |