diff options
-rw-r--r-- | tun/tun_windows.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tun/tun_windows.go b/tun/tun_windows.go index 6a84394..01c5644 100644 --- a/tun/tun_windows.go +++ b/tun/tun_windows.go @@ -171,6 +171,7 @@ func (tun *NativeTun) Close() error { if tun.wt != nil { _, err = tun.wt.DeleteInterface() } + close(tun.events) return err } |