mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-12-26 13:11:21 +08:00
fix: missing context cancel in pullLoop
This commit is contained in:
parent
10ef29f5cd
commit
c456370f4f
@ -501,6 +501,7 @@ func (c *streamSplitConn) pullLoop() {
|
||||
case c.rxc <- payload:
|
||||
case <-c.closed:
|
||||
_ = resp.Body.Close()
|
||||
cancel()
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user