Release audio resources before reconnecting
This commit is contained in:
committed by
Brandon McGinty
parent
25467405b8
commit
d07d7342da
@@ -92,7 +92,7 @@ Priority 1: transport, lifecycle, and correctness
|
||||
Stop and join all audio stream goroutines before renderer shutdown; make
|
||||
render reject work after shutdown without panicking.
|
||||
|
||||
11. Reconnect leaks the old audio stream
|
||||
[x] 11. Reconnect leaks the old audio stream
|
||||
File: client.go
|
||||
OnDisconnect starts reconnecting but never destroys the existing Stream or
|
||||
stops its file player/capture routine. connect creates a new Stream and
|
||||
|
||||
Reference in New Issue
Block a user