diff options
author | Jan Kotas <jkotas@microsoft.com> | 2019-04-13 08:09:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-13 08:09:31 -0700 |
commit | 8913aaa1388e263d537b19e78caaed6b124fc0ea (patch) | |
tree | bd07a13ebfdfdb7c0537eb5969be818f3b735189 /src/vm/win32threadpool.cpp | |
parent | 0fed62e68d1f8f8a756ec8ba5348bfde61057666 (diff) | |
download | coreclr-8913aaa1388e263d537b19e78caaed6b124fc0ea.tar.gz coreclr-8913aaa1388e263d537b19e78caaed6b124fc0ea.tar.bz2 coreclr-8913aaa1388e263d537b19e78caaed6b124fc0ea.zip |
Delete COMPlus_FinalizeOnShutdown (#23595)
This compat quirk is increasingly more broken since the framework is generally not compatible with, and we have not heard anybody actually using it.
Changed Environment.HasShutdownStarted to unconditionally return false. It does not make sense for it to ever return true with shutdown finalization disabled.
Diffstat (limited to 'src/vm/win32threadpool.cpp')
-rw-r--r-- | src/vm/win32threadpool.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/vm/win32threadpool.cpp b/src/vm/win32threadpool.cpp index b5014962d2..f340542b0c 100644 --- a/src/vm/win32threadpool.cpp +++ b/src/vm/win32threadpool.cpp @@ -3094,12 +3094,7 @@ void ThreadpoolMgr::DeregisterWait(WaitInfo* pArgs) if (InterlockedDecrement(&waitInfo->refCount) == 0) { - // After we suspend EE during shutdown, a thread may be blocked in WaitForEndOfShutdown in alertable state. - // We don't allow a thread reenter runtime while processing APC or pumping message. - if (!g_fSuspendOnShutdown ) - { - DeleteWait(waitInfo); - } + DeleteWait(waitInfo); } return; } |