From 49988d69c615c600ca86c4d397cc35ceadcb93f2 Mon Sep 17 00:00:00 2001 From: Wei Li Date: Mon, 11 Nov 2024 15:14:03 +0800 Subject: [PATCH] Fix cache/v2ray/clashapi not call post start issue --- box.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/box.go b/box.go index 6205a7d9..ae588a13 100644 --- a/box.go +++ b/box.go @@ -371,6 +371,12 @@ func (s *Box) start() error { 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 }