File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import (
26
26
27
27
wireguard "github.com/metacubex/sing-wireguard"
28
28
29
- "github.com/sagernet/sing/common"
30
29
"github.com/sagernet/sing/common/debug"
31
30
E "github.com/sagernet/sing/common/exceptions"
32
31
M "github.com/sagernet/sing/common/metadata"
@@ -456,7 +455,6 @@ func closeWireGuard(w *WireGuard) {
456
455
if w .device != nil {
457
456
w .device .Close ()
458
457
}
459
- _ = common .Close (w .tunDevice )
460
458
if w .closeCh != nil {
461
459
close (w .closeCh )
462
460
}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ require (
27
27
github.com/metacubex/sing-shadowsocks2 v0.2.2
28
28
github.com/metacubex/sing-tun v0.2.7-0.20240729131039-ed03f557dee1
29
29
github.com/metacubex/sing-vmess v0.1.9-0.20240719134745-1df6fb20bbf9
30
- github.com/metacubex/sing-wireguard v0.0.0-20240618022557-a6efaa37127a
30
+ github.com/metacubex/sing-wireguard v0.0.0-20240826061955-1e4e67afe5cd
31
31
github.com/metacubex/tfo-go v0.0.0-20240821025650-e9be0afd5e7d
32
32
github.com/metacubex/utls v1.6.6
33
33
github.com/miekg/dns v1.1.62
Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ github.com/metacubex/sing-tun v0.2.7-0.20240729131039-ed03f557dee1 h1:ypfofGDZbP
120
120
github.com/metacubex/sing-tun v0.2.7-0.20240729131039-ed03f557dee1 /go.mod h1:olbEx9yVcaw5tHTNlRamRoxmMKcvDvcVS1YLnQGzvWE =
121
121
github.com/metacubex/sing-vmess v0.1.9-0.20240719134745-1df6fb20bbf9 h1:OAXiCosqY8xKDp3pqTW3qbrCprZ1l6WkrXSFSCwyY4I =
122
122
github.com/metacubex/sing-vmess v0.1.9-0.20240719134745-1df6fb20bbf9 /go.mod h1:olVkD4FChQ5gKMHG4ZzuD7+fMkJY1G8vwOKpRehjrmY =
123
- github.com/metacubex/sing-wireguard v0.0.0-20240618022557-a6efaa37127a h1:NpSGclHJUYndUwBmyIpFBSoBVg8PoVX7QQKhYg0DjM0 =
124
- github.com/metacubex/sing-wireguard v0.0.0-20240618022557-a6efaa37127a /go.mod h1:uY+BYb0UEknLrqvbGcwi9i++KgrKxsurysgI6G1Pveo =
123
+ github.com/metacubex/sing-wireguard v0.0.0-20240826061955-1e4e67afe5cd h1:r7alry8u4qlUFLNMwGvG1A8ZcfPM6AMSmrm6E2yKdB4 =
124
+ github.com/metacubex/sing-wireguard v0.0.0-20240826061955-1e4e67afe5cd /go.mod h1:uY+BYb0UEknLrqvbGcwi9i++KgrKxsurysgI6G1Pveo =
125
125
github.com/metacubex/tfo-go v0.0.0-20240821025650-e9be0afd5e7d h1:j9LtzkYstLFoNvXW824QQeN7Y26uPL5249kzWKbzO9U =
126
126
github.com/metacubex/tfo-go v0.0.0-20240821025650-e9be0afd5e7d /go.mod h1:c7bVFM9f5+VzeZ/6Kg77T/jrg1Xp8QpqlSHvG/aXVts =
127
127
github.com/metacubex/utls v1.6.6 h1:3D12YKHTf2Z41UPhQU2dWerNWJ5TVQD9gKoQ+H+iLC8 =
You can’t perform that action at this time.
0 commit comments