sentry-dotnet
sentry-dotnet copied to clipboard
Replace `ConcurrentBag<T>` with a simpler data structure
We appear to be using ConcurrentBag<T>
in ways it possibly wasn't designed for and this may be the cause of a memory leak we discovered. We should investigate using a simpler data structure that doesn't use ThreadLocals or WorkStealingPools, if possible.
Originally posted by @jamescrosswell in https://github.com/getsentry/sentry-dotnet/issues/3432#issuecomment-2175807165