After the thread completes its execution, it will no longer consume memory, and this will be the goal of collecting the garbage collector, so don't worry about it. however, if you use Task , the Task object is IDisposable , it is good practice for Dispose when it completes its execution.
source share