mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-06 13:27:37 +03:00
Minor fixes
This commit is contained in:
parent
8b64446274
commit
afd3464216
2 changed files with 3 additions and 2 deletions
|
@ -179,5 +179,6 @@ func (w *WireGuard) Close() error {
|
|||
if w.device != nil {
|
||||
w.device.Close()
|
||||
}
|
||||
return common.Close(w.tunDevice)
|
||||
w.tunDevice.Close()
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue