Skip to content
Success

Changes

Summary

  1. Cleanup objectpool global/local case (commit: d57bc20) (details)
Commit d57bc207687f57dc896cea4a1b23b6b8439b4f70 by lamont
Cleanup objectpool global/local case

Can use a ThreadLocal<ConcurrentBag> even though that makes little
sense but we only use that in tests, and it keeps the codepaths
simple.

I'd like to use Smooth.Pools now but I don't see how to get this
kind of behavior around it.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
(commit: d57bc20)
The file was modified MechJeb2/MechJebLib/Utils/ObjectPool.cs (diff)