mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-10-02 04:16:38 +00:00
Handle network update callbacks in background
This commit is contained in:
@@ -206,7 +206,7 @@ func (s *Outbound) connect(ctx context.Context) (client *ssh.Client, err error)
|
||||
return client, nil
|
||||
}
|
||||
|
||||
func (s *Outbound) InterfaceUpdated() {
|
||||
func (s *Outbound) InterfaceUpdated(ctx context.Context) {
|
||||
common.Close(s.clientConn)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user