Пример #1
0
        public void CleanUp()
        {
            if (this.Listener != null)
            {
                this.Listener.Stop();
            }

            if (this.RequestPoll != null)
            {
                this.RequestPoll.Dispose();
            }

            _context.Dispose();
        }
 public void Dispose()
 {
     _context.Dispose();
 }