Minor fixes

This commit is contained in:
世界 committed 2023-04-05 21:41:06 +08:00
1 parent 8b64446274
commit afd3464216
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -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
}