Do I need to dispose of Tasks βοΈ
Short answer to this question π π»ββοΈ :
And for those of you looking for a coffee-break read, hereβs long answer :
[ Website ] : http://bit.do/DisposeTasks
γ°γ°γ°γ°γ°γ°
#Dotnet #Parallel #Dispose
@ProgrammingTip
β Task implements IDisposable and exposes a Dispose method.
Does that mean I should dispose of all of my tasks ? β
Short answer to this question π π»ββοΈ :
No. Don't bother disposing of your tasks.
And for those of you looking for a coffee-break read, hereβs long answer :
[ Website ] : http://bit.do/DisposeTasks
γ°γ°γ°γ°γ°γ°
#Dotnet #Parallel #Dispose
@ProgrammingTip
Microsoft
Do I need to dispose of Tasks?
All about Async/Await, System.Threading.Tasks, System.Collections.Concurrent, System.Linq, and moreβ¦