Reject renderer work after audio shutdown
This commit is contained in:
committed by
Brandon McGinty
parent
1679a37783
commit
28a59832c4
@@ -85,7 +85,7 @@ Priority 1: transport, lifecycle, and correctness
|
||||
a cancellation context plus WaitGroup/done channel; serialize Start, Stop,
|
||||
reopen, and Destroy; wait before CaptureCloseDevice.
|
||||
|
||||
10. Renderer can be used after it is closed
|
||||
[x] 10. Renderer can be used after it is closed
|
||||
Files: gumble/gumbleopenal/stream.go, gumble/gumble/audiolisteners.go
|
||||
Existing OnAudioStream goroutines can run cleanup after Destroy closes
|
||||
renderCh. Their final render call then panics sending on a closed channel.
|
||||
|
||||
Reference in New Issue
Block a user