mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
chore: restful api contains providerChains for connections
This commit is contained in:
@@ -156,7 +156,7 @@ func (pp *proxySetProvider) Initial() error {
|
||||
|
||||
func (pp *proxySetProvider) closeAllConnections() {
|
||||
statistic.DefaultManager.Range(func(c statistic.Tracker) bool {
|
||||
for _, chain := range c.Chains() {
|
||||
for _, chain := range c.ProviderChains() {
|
||||
if chain == pp.Name() {
|
||||
_ = c.Close()
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user