1
0
mirror of https://github.com/MetaCubeX/mihomo.git synced 2026-10-10 04:03:11 +08:00

fix: 当初始化失败时,定时更新失效

This commit is contained in:
Skyxim
2022-06-04 19:15:30 +08:00
parent 3827e00b54
commit 8ff7e180a4
+1 -1
View File
@@ -75,7 +75,7 @@ func (pp *proxySetProvider) Initial() error {
pp.onUpdate(elm)
if pp.healthCheck.auto() {
go pp.healthCheck.process()
defer func() { go pp.healthCheck.process() }()
}
return nil