Update sing-box core

This commit is contained in:
Sergei Maklagin
2026-04-22 19:23:23 +03:00
23 changed files with 210 additions and 132 deletions

View File

@@ -69,7 +69,7 @@ type OverrideOptions struct {
}
func (s *StartedService) newInstance(profileContent string, overrideOptions *OverrideOptions) (*Instance, error) {
ctx := s.ctx
ctx := service.ExtendContext(s.ctx)
service.MustRegister[deprecated.Manager](ctx, new(deprecatedManager))
ctx, cancel := context.WithCancel(include.Context(ctx))
options, err := parseConfig(ctx, profileContent)