public void Dispose() { listener?.Stop(); listener?.Dispose(); worker?.Dispose(); pipeline?.Stop(); }
public void Stop() { lock (this) { if (worker != null) { worker.Dispose(); worker = null; } if (pipeline != null) { pipeline?.Stop(); pipeline = null; } } }
public void Dispose() { worker?.Dispose(); pipeline?.Stop(); }
public void Dispose() { completion.Dispose(); pipeline.Stop(); }
public void Dispose() { completion.Dispose(); }