aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel/winipcfg/interface_change_handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'tunnel/winipcfg/interface_change_handler.go')
-rw-r--r--tunnel/winipcfg/interface_change_handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnel/winipcfg/interface_change_handler.go b/tunnel/winipcfg/interface_change_handler.go
index 6bb8cf2b..50ea6448 100644
--- a/tunnel/winipcfg/interface_change_handler.go
+++ b/tunnel/winipcfg/interface_change_handler.go
@@ -66,7 +66,7 @@ func (callback *InterfaceChangeCallback) Unregister() error {
func interfaceChanged(callerContext uintptr, row *MibIPInterfaceRow, notificationType MibNotificationType) uintptr {
interfaceChangeMutex.Lock()
for cb := range interfaceChangeCallbacks {
- cb.cb(notificationType, row)
+ go cb.cb(notificationType, row)
}
interfaceChangeMutex.Unlock()
return 0