Removed the finalizer from Context. The unmanaged resources are captured by other managed objects, who themselves are finalizable objects (usually CriticalFinalizerObject or SafeHandles).

This commit is contained in:
antiduh
2014-07-01 18:19:11 +00:00
parent c8ae206306
commit 5403321a49

View File

@@ -23,11 +23,6 @@ namespace NSspi.Contexts
this.Initialized = false; this.Initialized = false;
} }
~Context()
{
Dispose( false );
}
/// <summary> /// <summary>
/// Whether or not the context is fully formed. /// Whether or not the context is fully formed.
/// </summary> /// </summary>
@@ -496,10 +491,5 @@ namespace NSspi.Contexts
return result; return result;
} }
private void InitSecPkgInfo()
{
}
} }
} }