public void Close() { _pipe.ProducingCompleted(); lock (this) { if (m_appenderAttachedImpl != null) { m_appenderAttachedImpl.RemoveAllAppenders(); } } }
public void End() { if (_queue != null) { _queue.ProducingCompleted(); _queue = null; _writerTask.Wait(); AssertTask(); } }