mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-10-26 13:06:56 +00:00
Handle network update callbacks in background
This commit is contained in:
@@ -133,7 +133,7 @@ func (h *Outbound) MultiplexEnabled() bool {
|
||||
return h.multiplexDialer != nil
|
||||
}
|
||||
|
||||
func (h *Outbound) InterfaceUpdated() {
|
||||
func (h *Outbound) InterfaceUpdated(ctx context.Context) {
|
||||
if h.transport != nil {
|
||||
h.transport.Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user