fix rwcrb close

This commit is contained in:
Shelikhoo 2024-09-12 13:14:22 +01:00 committed by WofWca
parent 37f2f42ea0
commit 1da7fecbed

View file

@ -51,7 +51,7 @@ func (pcw *packetConnWrapper) WriteTo(p []byte, addr net.Addr) (n int, err error
}
func (pcw *packetConnWrapper) Close() error {
return pcw.ReadWriteCloser.Close()
return pcw.ReadWriteCloserPreservesBoundary.Close()
}
func (pcw *packetConnWrapper) LocalAddr() net.Addr {