Disable finalization of bogus SafeWaitHandles (dotnet/corefx#41636)
authorJan Kotas <jkotas@microsoft.com>
Tue, 8 Oct 2019 18:33:47 +0000 (11:33 -0700)
committerStephen Toub <stoub@microsoft.com>
Tue, 8 Oct 2019 18:33:47 +0000 (14:33 -0400)
commitd876c92bb4b38de00a392fc5b578b6902d87db01
tree17a908e97f8ed0fea0a1eb913dd2d186c7d9bbf9
parent63c86b6d542ffad99bf1dfe1f56833bb389bd554
Disable finalization of bogus SafeWaitHandles (dotnet/corefx#41636)

Fixes dotnet/corefx#41635

Commit migrated from https://github.com/dotnet/corefx/commit/72f5cff116fdfa71f44090281e091b0dcbc31f8f
src/libraries/System.Runtime.Handles/tests/CriticalHandle.cs
src/libraries/System.Runtime.Handles/tests/SafeHandle.cs
src/libraries/System.Runtime.Handles/tests/SafeWaitHandle.cs
src/libraries/System.Runtime.Handles/tests/SafeWaitHandleExtensions.cs