mirror of
https://github.com/livekit/livekit.git
synced 2026-09-16 15:02:38 +00:00
* telemetry: do not recreate a stats worker for a released guard A ParticipantActive overtaken by the participant's close arrives with a guard ParticipantLeft already released and replaced the closed worker with one nothing could release. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * telemetry: handle a released guard independently of map presence A released guard reaching getOrCreateWorker after the closed worker was reaped still created a zero-reference worker. Return nil as found instead, and make SetConnected nil-safe for ParticipantActive. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>