Wait For Tasks To Finish When Quitting
When there are running tasks and you call worker.Quit()
method, the process will wait for all running tasks to be processed first before shutting down.
When there are running tasks and you call worker.Quit()
method, the process will wait for all running tasks to be processed first before shutting down.