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