Delete COMPlus_FinalizeOnShutdown (dotnet/coreclr#23595)
commit13183af5c3dd5d6983fc15cfef53bf1da917c00d
authorJan Kotas <jkotas@microsoft.com>
Sat, 13 Apr 2019 15:09:31 +0000 (13 08:09 -0700)
committerMarek Safar <marek.safar@gmail.com>
Sun, 14 Apr 2019 13:44:21 +0000 (14 15:44 +0200)
treef028302cec320b0363cd3e74b7d06bac1a3a5c64
parenta26c8bca819f00b5d9cd856c8f99df9ec3a4755a
Delete COMPlus_FinalizeOnShutdown (dotnet/coreclr#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.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
netcore/System.Private.CoreLib/shared/System/Gen2GcCallback.cs
netcore/System.Private.CoreLib/shared/System/Runtime/CompilerServices/ConditionalWeakTable.cs
netcore/System.Private.CoreLib/shared/System/Threading/ThreadPool.cs
netcore/System.Private.CoreLib/shared/System/Threading/Timer.cs