Пример #1
0
        public void Close()
        {
            if (_queue.IsAddingCompleted)
            {
                return;
            }

            _queue.CompleteAdding();
            _closeWaitHandle.WaitOne();
            _decoratedWriter.Close();
        }