Closed gerdoe-jr closed 1 year ago
I have the same issue on my machine (Windows). Renet doesn't seem to recognize clients that disconnect this way and will send error events every frame in bevy.
Fixed by bf49592f221eee7853abd22314a33ee3d1f81690 The server now handles this error.
On Windows,
update()
will throwOs { code: 10054, kind: ConnectionReset, message: "An existing connection was forcibly closed by the remote host." }
if client forced connection closing (e.g, client crashed without sending disconnect packet).