mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-10-27 05:26:56 +00:00
Handle network update callbacks in background
This commit is contained in:
@@ -486,7 +486,7 @@ func (e *Endpoint) Close() error {
|
||||
return err
|
||||
}
|
||||
|
||||
func (e *Endpoint) InterfaceUpdated() {
|
||||
func (e *Endpoint) InterfaceUpdated(ctx context.Context) {
|
||||
e.client.RestartSession()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user