diff options
Diffstat (limited to 'tunnel/winipcfg/route_change_handler.go')
-rw-r--r-- | tunnel/winipcfg/route_change_handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnel/winipcfg/route_change_handler.go b/tunnel/winipcfg/route_change_handler.go index e43fa3c0..4bdea672 100644 --- a/tunnel/winipcfg/route_change_handler.go +++ b/tunnel/winipcfg/route_change_handler.go @@ -73,7 +73,7 @@ func (callback *RouteChangeCallback) Unregister() error { func routeChanged(callerContext uintptr, row *MibIPforwardRow2, notificationType MibNotificationType) uintptr { routeChangeMutex.Lock() for cb := range routeChangeCallbacks { - cb.cb(notificationType, row) + go cb.cb(notificationType, row) } routeChangeMutex.Unlock() return 0 |