1
0
mirror of https://github.com/fatedier/frp.git synced 2025-06-16 08:08:20 +00:00

Fix goroutine leaks

This commit is contained in:
Jeb.Wang 2025-01-15 17:14:31 +08:00
parent 27db6217ec
commit 93289aab03

@ -43,6 +43,7 @@ func NewXTCPProxy(baseProxy *BaseProxy) Proxy {
return &XTCPProxy{ return &XTCPProxy{
BaseProxy: baseProxy, BaseProxy: baseProxy,
cfg: unwrapped, cfg: unwrapped,
closeCh: make(chan struct{}),
} }
} }