mirror of
https://github.com/fatedier/frp.git
synced 2025-04-23 07:01:27 +00:00
Fix goroutine leaks
This commit is contained in:
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{}),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user