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;
|
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()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user