daemon: Fix started service leak

This commit is contained in:
世界
2026-02-22 23:27:25 +08:00
parent 9bcd715d31
commit 7745a97cca
2 changed files with 9 additions and 0 deletions

View File

@@ -159,6 +159,7 @@ func (s *CommandServer) Close() {
s.grpcServer.Stop()
}
common.Close(s.listener)
s.StartedService.Close()
}
type OverrideOptions struct {