Пример #1
0
        public void Close()
        {
            _pipe.ProducingCompleted();

            lock (this)
            {
                if (m_appenderAttachedImpl != null)
                {
                    m_appenderAttachedImpl.RemoveAllAppenders();
                }
            }
        }
Пример #2
0
        public void End()
        {
            if (_queue != null)
            {
                _queue.ProducingCompleted();
                _queue = null;

                _writerTask.Wait();

                AssertTask();
            }
        }