Working with locks is complex to reason about and leads to failures like the following https://github.com/getsentry/sentry-python/issues/7775 Particularly in the SDK, the code inside the lock can produce new telemetry, leading to deadlocks.
Working with locks is complex to reason about and leads to failures like the following #7775
Particularly in the SDK, the code inside the lock can produce new telemetry, leading to deadlocks.