Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kerr <rmkerr@users.noreply.github.com>2018-04-09 19:18:30 +0300
committerGitHub <noreply@github.com>2018-04-09 19:18:30 +0300
commit7be5db36884888638e9901d3f783301d60eeb41c (patch)
treef1a2968f8867c92b2cdd1d3337162aa8033cc77c /src
parent14435e14d39bf70697956535b8ac6c96b49e9cea (diff)
Stop nulling out fields in SafeDeleteSslContext dispose. (#28889)
Nulling out fields in SafeDeleteSslContext.Dispose causes occasional difficult to reproduce exceptions in CI. The fix is to stop nulling out these fields in the dispose method, and to allow the garbage collector to take care of them instead. Fixes: #28759
Diffstat (limited to 'src')
-rw-r--r--src/System.Net.Security/src/System/Net/Security/Pal.OSX/SafeDeleteSslContext.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/System.Net.Security/src/System/Net/Security/Pal.OSX/SafeDeleteSslContext.cs b/src/System.Net.Security/src/System/Net/Security/Pal.OSX/SafeDeleteSslContext.cs
index 913e7e590e..d1d142b4de 100644
--- a/src/System.Net.Security/src/System/Net/Security/Pal.OSX/SafeDeleteSslContext.cs
+++ b/src/System.Net.Security/src/System/Net/Security/Pal.OSX/SafeDeleteSslContext.cs
@@ -114,11 +114,6 @@ namespace System.Net
_sslContext.Dispose();
_sslContext = null;
}
-
- _toConnection = null;
- _fromConnection = null;
- _writeCallback = null;
- _readCallback = null;
}
base.Dispose(disposing);