public void ReleaseLock() { lock (this) { m_lockLevel--; if (m_lockLevel == 0) { m_lockingModel.ReleaseLock(); m_realStream = null; } } }
public void ReleaseLock() { lock (this) { m_lockLevel--; if (m_lockLevel == 0) { // If already unlocked, nop m_lockingModel.ReleaseLock(); m_realStream = null; } } }