protected virtual void Dispose(bool disposing) { System.Diagnostics.Debug.WriteLineIf(!disposing, "****** Missing Dispose() call for " + GetType().Name + ". ****** "); if (disposing) { m_application?.Dispose(); m_window?.Dispose(); m_propertyTable?.Dispose(); } }
public void FixtureCleanUp() { m_application.Dispose(); if (m_window != null) { m_window.Dispose(); m_window = null; } m_application = null; FwRegistrySettings.Release(); }
public void FixtureCleanUp() { TearDown(); m_application.Dispose(); if (m_window != null) { m_window.Dispose(); // also disposes mediator m_window = null; } m_application = null; FwRegistrySettings.Release(); }
protected virtual void Dispose(bool disposing) { System.Diagnostics.Debug.WriteLineIf(!disposing, "****** Missing Dispose() call for " + GetType().Name + ". ****** "); if (disposing) { if (m_application != null) { m_application.Dispose(); } if (m_window != null) { m_window.Dispose(); } if (m_mediator != null) { m_mediator.Dispose(); } } }