Exemplo n.º 1
0
        public void Close()
        {
            _pipe.ProducingCompleted();

            lock (this)
            {
                if (m_appenderAttachedImpl != null)
                {
                    m_appenderAttachedImpl.RemoveAllAppenders();
                }
            }
        }
Exemplo n.º 2
0
        public void End()
        {
            if (_queue != null)
            {
                _queue.ProducingCompleted();
                _queue = null;

                _writerTask.Wait();

                AssertTask();
            }
        }