On Tuesday, 27 October 2020 at 00:46:48 UTC, Marcone wrote:
Because when the main thread is completed the worker thread continues to run.
Please provide a code example. It's much easier to reason about.Are you creating a thread from a thread and want the 2nd spawned thread to be terminated when the 1st thread terminates?
