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:
@@ -32,11 +32,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; }
|
||||||
|
|
||||||
public string SecurityPackage
|
public string SecurityPackage
|
||||||
|
|||||||
Reference in New Issue
Block a user