/// <summary> /// Releases the unmanaged resources used by the <see cref="LogicalWriter"/> object and optionally releases the managed resources. /// </summary> public void Dispose() { if (!m_disposed) { try { m_physicalWriter.Dispose(); } finally { m_disposed = true; } } }
/// <summary> /// Releases the unmanaged resources used by the <see cref="LogicalWriter"/> object. /// </summary> public void Dispose() { if (m_disposed) { return; } try { m_physicalWriter.Dispose(); } finally { m_disposed = true; } }