You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you spawn a bunch of tasks on the threadpool from the main thread, and then the main thread concludes, the program will terminate before the threadpool's tasks have finished. Ideally, there'd be an easy way to ensure that all the spawned tasks conclude before the program ends.