Skip to content

Commit

Permalink
Fix reserved threads closing
Browse files Browse the repository at this point in the history
  • Loading branch information
YetAnotherClown committed Mar 26, 2023
1 parent bf650e2 commit cbf47cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ function ThreadPool:spawn<T...>(callback: (T...) -> nil, ...: T...)
end

coroutine.resume(self._openThreads[#self._openThreads], callback, ...)
self._openThreads[#self._openThreads] = nil
end

--[=[
Expand Down

0 comments on commit cbf47cd

Please sign in to comment.