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:
@@ -23,11 +23,6 @@ namespace NSspi.Contexts
|
||||
this.Initialized = false;
|
||||
}
|
||||
|
||||
~Context()
|
||||
{
|
||||
Dispose( false );
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not the context is fully formed.
|
||||
/// </summary>
|
||||
@@ -496,10 +491,5 @@ namespace NSspi.Contexts
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
private void InitSecPkgInfo()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user