I can’t find an answer to this question anywhere else. I may just suck at searching, but I have not seen anybody talking about whether or not threads garbage collect after being completed.
Right now, I’m stuck with trying to cancel threads inside themselves (which I don’t think can even work), but knowing whether or not this happens would help a lot.
local thread
thread = task.spawn(function()
for s, service in pairs(services) do
--hidden
end
for s, service in pairs(services) do
--hidden
end
end)