Synchronize listener detach and delivery

This commit is contained in:
Brandon McGinty (chatgpt)
2026-08-09 14:55:03 -04:00
committed by Brandon McGinty
parent e309d22137
commit 9f90bd5c66
4 changed files with 84 additions and 98 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ Priority 1: transport, lifecycle, and correctness
channel. Also synchronize Volume, which is currently read and written
without protection.
16. Audio listener/event listener detach is not concurrency-safe
[x] 16. Audio listener/event listener detach is not concurrency-safe
Files: gumble/gumble/listeners.go, gumble/gumble/audiolisteners.go
Event listener detach has no lock; audio detach removes streams without
closing/joining them. Concurrent attach/detach/delivery can corrupt linked