mirror of
https://git.zx2c4.com/wireguard-go
synced 2025-10-12 20:10:23 +08:00
Odds and ends
This commit is contained in:
@@ -392,6 +392,7 @@ func (tun *NativeTun) Close() error {
|
||||
return err
|
||||
}
|
||||
tun.closingWriter.Write([]byte{0})
|
||||
close(tun.events)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user