From 5403321a491cbe7b97670346458418b8d2a1a8d0 Mon Sep 17 00:00:00 2001 From: antiduh Date: Tue, 1 Jul 2014 18:19:11 +0000 Subject: [PATCH] Removed the finalizer from Context. The unmanaged resources are captured by other managed objects, who themselves are finalizable objects (usually CriticalFinalizerObject or SafeHandles). --- NSspi/Contexts/Context.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/NSspi/Contexts/Context.cs b/NSspi/Contexts/Context.cs index 3347866..4026f65 100644 --- a/NSspi/Contexts/Context.cs +++ b/NSspi/Contexts/Context.cs @@ -23,11 +23,6 @@ namespace NSspi.Contexts this.Initialized = false; } - ~Context() - { - Dispose( false ); - } - /// /// Whether or not the context is fully formed. /// @@ -496,10 +491,5 @@ namespace NSspi.Contexts return result; } - - private void InitSecPkgInfo() - { - - } } }