Move browser dialer start stop to instance lifecycle

Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/b8c640ab-f93c-4609-8e34-a8e14e2be9e7

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-27 13:32:47 +00:00
committed by GitHub
parent 3a826b7ece
commit 8043924af5
3 changed files with 31 additions and 3 deletions
-3
View File
@@ -632,9 +632,6 @@ func (c *Config) Build() (*core.Config, error) {
if err := browser_dialer.ConfigureCollectedDialerProxyURLs(); err != nil {
return nil, errors.New("failed to configure browser dialer").Base(err)
}
if err := browser_dialer.StartCollectedDialerProxyURLs(); err != nil {
return nil, errors.New("failed to start browser dialer listeners").Base(err)
}
return config, nil
}