mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-05 08:29:03 +00:00
notify progressTraffic to quit
This commit is contained in:
2 files changed
+6
-1
No files matched your search
@@ -128,6 +128,7 @@ func (ls *Listener) uploop(cctx context.Context) {
|
||||
errortolerance := 5
|
||||
for {
|
||||
if cctx.Err() != nil {
|
||||
close(ls.listenerChan)
|
||||
return
|
||||
}
|
||||
conn, err := ls.ln.Accept()
|
||||
|
||||
Reference in new issue
Block a user