mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-07-02 17:58:46 +00:00
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:
committed by
GitHub
parent
3a826b7ece
commit
8043924af5
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user