Handle network update callbacks in background

This commit is contained in:
世界
2026-08-30 17:41:46 +08:00
parent cfddedb3da
commit 6720a27109
46 changed files with 382 additions and 134 deletions
+1 -1
View File
@@ -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()
}