public static void Stop(bool _applicationExiting = false) { applicationExiting = _applicationExiting; if (!applicationExiting) { task.Stop(); } else { task.Wait(); } }
public void Stop() { scraperTask.Stop(); }
public static void Stop(bool _applicationExiting = false) { applicationExiting = _applicationExiting; if (!applicationExiting) { task.Stop(); } else { task.Wait(); } }
public void Stop() { scraperTask.Stop(); }