Fix close conn

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

View File

@@ -134,6 +134,7 @@ func (h *VLESS) ListenPacket(ctx context.Context, destination M.Socksaddr) (net.
}
}
if err != nil {
common.Close(conn)
return nil, err
}
if h.xudp {