protected override void Dispose(bool disposing) { if (disposing) { if (ImmediateContext__ != null) { ImmediateContext__.Dispose(); ImmediateContext__ = null; } } base.Dispose(disposing); }
/// <inheritdoc/> protected override void DisposeCore(IntPtr nativePointer, bool disposing) { if (disposing) { if (ImmediateContext__ != null) { ImmediateContext__.Dispose(); ImmediateContext__ = null; } } base.DisposeCore(nativePointer, disposing); }