fix: 关闭并发时双栈使用错误

This commit is contained in:
Skyxim 2022-05-27 20:43:39 +08:00
parent 2044458df9
commit fb4872ff7f

View file

@ -83,7 +83,7 @@ func SetDial(concurrent bool) {
actualDualStackDialContext = concurrentDualStackDialContext actualDualStackDialContext = concurrentDualStackDialContext
} else { } else {
actualSingleDialContext = singleDialContext actualSingleDialContext = singleDialContext
actualDualStackDialContext = concurrentDualStackDialContext actualDualStackDialContext = dualStackDialContext
} }
dialMux.Unlock() dialMux.Unlock()