Example #1
0
        public void Dispose()
        {
            listener?.Stop();
            listener?.Dispose();

            worker?.Dispose();
            pipeline?.Stop();
        }
Example #2
0
        public void Stop()
        {
            lock (this)
            {
                if (worker != null)
                {
                    worker.Dispose();
                    worker = null;
                }

                if (pipeline != null)
                {
                    pipeline?.Stop();
                    pipeline = null;
                }
            }
        }
Example #3
0
 public void Dispose()
 {
     worker?.Dispose();
     pipeline?.Stop();
 }
Example #4
0
 public void Dispose()
 {
     completion.Dispose();
     pipeline.Stop();
 }
Example #5
0
 public void Dispose()
 {
     completion.Dispose();
 }