[Mono.Security]: Add destructor to MonoSslStream.
authorMartin Baulig <martin.baulig@xamarin.com>
Tue, 10 Nov 2015 20:47:31 +0000 (15:47 -0500)
committerMartin Baulig <martin.baulig@xamarin.com>
Tue, 10 Nov 2015 20:48:32 +0000 (15:48 -0500)
(cherry picked from commit f158270d867bee65b8980479b84124f9ef1a0f61)

mcs/class/Mono.Security/Mono.Security.Interface/MonoSslStream.cs

index c69ce76447207d723deda6ea0b6f39da428e8c83..48fc51bf4cc99d6a0463501af43d6ff0d2007276 100644 (file)
@@ -193,6 +193,11 @@ namespace Mono.Security.Interface
                protected virtual void Dispose (bool disposing)
                {
                }
+
+               ~MonoSslStream ()
+               {
+                       Dispose (false);
+               }
        }
 }