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

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

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