aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel/winipcfg/unicast_address_change_handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'tunnel/winipcfg/unicast_address_change_handler.go')
-rw-r--r--tunnel/winipcfg/unicast_address_change_handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnel/winipcfg/unicast_address_change_handler.go b/tunnel/winipcfg/unicast_address_change_handler.go
index b0ae7950..b126e2ed 100644
--- a/tunnel/winipcfg/unicast_address_change_handler.go
+++ b/tunnel/winipcfg/unicast_address_change_handler.go
@@ -66,7 +66,7 @@ func (callback *UnicastAddressChangeCallback) Unregister() error {
func unicastAddressChanged(callerContext uintptr, row *MibUnicastIPAddressRow, notificationType MibNotificationType) uintptr {
unicastAddressChangeMutex.Lock()
for cb := range unicastAddressChangeCallbacks {
- cb.cb(notificationType, row)
+ go cb.cb(notificationType, row)
}
unicastAddressChangeMutex.Unlock()
return 0