/// <summary> /// Frees resources used by this object. /// </summary> protected override void Dispose(bool disposing) { try { // Disposed managed resources during dispose if (disposing) { Changes?.Dispose(); } } finally { // Dispose base class base.Dispose(disposing); } }
/// <summary> /// Frees resources used by this object. /// </summary> protected override void Dispose(bool disposing) { try { // Disposed managed resources during dispose if (disposing) { if (Changes != null) { Changes.Dispose(); } } } finally { // Free references Changes = null; // Dispose base class base.Dispose(disposing); } }