Fix goroutine leaks

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

View File

@ -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{}),
} }
} }