When using Async/Await in C# are background tasks terminated automatically when program exits?

前端 未结 0 675
耶瑟儿~
耶瑟儿~ 2021-01-29 01:01

If I have a program running multiple background threads, and the program exits on the main thread, are background threads cleaned up automagically? Or, do I need to ensure backg

相关标签:
回答
  • 消灭零回复
提交回复
热议问题