//should only be called from httplistenercontext internal void Close() { if (NetEventSource.IsEnabled) { NetEventSource.Enter(this); } RequestContextBase memoryBlob = _memoryBlob; if (memoryBlob != null) { memoryBlob.Close(); _memoryBlob = null; } _isDisposed = true; if (NetEventSource.IsEnabled) { NetEventSource.Exit(this); } }
internal void Close() { if (Logging.On) { Logging.Enter(Logging.HttpListener, this, "Close", ""); } RequestContextBase memoryBlob = this.m_MemoryBlob; if (memoryBlob != null) { memoryBlob.Close(); this.m_MemoryBlob = null; } this.m_IsDisposed = true; if (Logging.On) { Logging.Exit(Logging.HttpListener, this, "Close", ""); } }