Do I need to dispose of Tasks? - .NET Parallel Programming
Short answer: No.
The only time you may want to dispose a Task is when you are explicitly using IAsyncResult.AsyncWaitHandle which causes an allocation of a disposable resource. But even in that case you may not bother disposing it.
https://devblogs.microsoft.com/pfxteam/do-i-need-to-dispose-of-tasks/
#tpl #async
Post #1927
157