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:
antiduh
2014-07-01 18:39:16 +00:00
parent b742dbbff4
commit 2e6962bcc0

View File

@@ -31,11 +31,6 @@ namespace NSspi.Credentials
this.PackageInfo = PackageSupport.GetPackageCapabilities( this.SecurityPackage );
}
~Credential()
{
Dispose( false );
}
public SecPkgInfo PackageInfo { get; private set; }