mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-03 11:57:39 +03:00
Fix "Fix task cancel context"
This commit is contained in:
parent
96a05f9afe
commit
49f5dfd767
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ func (g *Group) RunContextList(contextList []context.Context) error {
|
|||
|
||||
selectedContext, upstreamErr := common.SelectContext(append([]context.Context{taskCancelContext}, contextList...))
|
||||
|
||||
if selectedContext == 0 {
|
||||
if selectedContext != 0 {
|
||||
taskCancel(upstreamErr)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue