Fix close conn

This commit is contained in:
世界
2023-03-03 16:46:49 +08:00
parent b54c1b1aa7
commit 06bc57d85a
6 changed files with 8 additions and 3 deletions

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 {