Fix close conn

This commit is contained in:
世界
2023-03-17 14:53:13 +08:00
parent b54c1b1aa7
commit 06bc57d85a
6 changed files with 8 additions and 3 deletions
+1
View File
@@ -123,6 +123,7 @@ func (h *VLESS) ListenPacket(ctx context.Context, destination M.Socksaddr) (net.
}
}
if err != nil {
common.Close(conn)
return nil, err
}
if h.xudp {