public override void Close() { GlobalLog.Enter("FileWebStream::Close"); if (m_request != null) { m_request.UnblockReader(); } base.Close(); GlobalLog.Leave("FileWebStream::Close"); }
protected override void Dispose(bool disposing) { try { if (disposing) { _request?.UnblockReader(); } } finally { base.Dispose(disposing); } }
protected override void Dispose(bool disposing) { GlobalLog.Enter("FileWebStream::Close"); try { if (disposing && m_request != null) { m_request.UnblockReader(); } } finally { base.Dispose(disposing); } GlobalLog.Leave("FileWebStream::Close"); }