app/reverse/portal.go: Fix goroutine leak & Add EndpointOverride (#5100)

https://github.com/XTLS/Xray-core/issues/5088#issuecomment-3263558403
This commit is contained in:
patterniha
2025-09-07 12:38:21 +02:00
committed by GitHub
parent 4b0ee28f1c
commit 4740ba2425
2 changed files with 15 additions and 1 deletions

View File

@@ -215,6 +215,10 @@ func (m *ClientWorker) Closed() bool {
return m.done.Done()
}
func (m *ClientWorker) WaitClosed() <-chan struct{} {
return m.done.Wait()
}
func (m *ClientWorker) GetTimer() *time.Ticker {
return m.timer
}