mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
Fix cache/v2ray/clashapi not call post start issue
This commit is contained in:
parent
e3ffffc645
commit
49988d69c6
6
box.go
6
box.go
@ -371,6 +371,12 @@ func (s *Box) start() error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
for _, lifecycleService := range s.services {
|
||||||
|
err = lifecycleService.Start(adapter.StartStateStarted)
|
||||||
|
if err != nil {
|
||||||
|
return E.Cause(err, "start state started", lifecycleService.Name())
|
||||||
|
}
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user