Method Dispose
Last update: 19.06.2026Namespace: Phoenix.Pacz
Assembly: Phoenix.Pacz.dll
Dispose(bool)
Standard disposal.
protected override void Dispose(bool disposing)
Parameters
disposing bool
Whether this function is called from the normal
Phoenix.DotNetUtils.AbstractDisposable.Dispose function (true) or from the finalizer
(false).
Remarks
The proper form for implementing this in a derived class is:
protected override void Dispose(bool disposing)
{
try
{
if (disposing)
{
// dispose managed resources
}
// dispose unmanaged resources
}
finally
{
base.Dispose(disposing);
}
}
Note that you don't strictly need the try-finally or the
base.Dispose(disposing) if you're just overriding this class,
since the base class implementation doesn't actually do anything.