Hacker News new | ask | show | jobs
by spacechild1 237 days ago
When you return from main(), there shouldn't be any child threads running in the first place. Join your threads and you will be fine.