Example #1
0
 public void Stop()
 {
     lock (this)
     {
         _loaderCancellationTokenSource.Cancel();
         _loader.Finalise();
         _processorCancellationTokenSource.Cancel();
         _processor.Finalise();
         _distributorCancellationTokenSource.Cancel();
         _distributor.Finalise();
     }
 }