fixed possible memory leak for UDP stream

This commit is contained in:
yusing
2024-10-14 08:57:46 +08:00
parent 51c6eb4597
commit d3b8cb8cba
2 changed files with 8 additions and 2 deletions

View File

@@ -5,6 +5,5 @@ import (
)
const (
udpBufferSize = 8192
streamStopListenTimeout = 1 * time.Second
)