Removed the finalizer from Credential. The unmanaged resources are captured by other managed objects, who themselves are finalizable objects (usually CriticalFinalizerObject or SafeHandles).
This commit is contained in:
@@ -31,11 +31,6 @@ namespace NSspi.Credentials
|
|||||||
|
|
||||||
this.PackageInfo = PackageSupport.GetPackageCapabilities( this.SecurityPackage );
|
this.PackageInfo = PackageSupport.GetPackageCapabilities( this.SecurityPackage );
|
||||||
}
|
}
|
||||||
|
|
||||||
~Credential()
|
|
||||||
{
|
|
||||||
Dispose( false );
|
|
||||||
}
|
|
||||||
|
|
||||||
public SecPkgInfo PackageInfo { get; private set; }
|
public SecPkgInfo PackageInfo { get; private set; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user