lightyear icon indicating copy to clipboard operation
lightyear copied to clipboard

Logspam after disconnecting a client

Open cBournhonesque opened this issue 5 months ago • 1 comments

After running

    mut servers: ResMut<ServerConnections>,
// ...
    let _ = servers.disconnect(*client_id);

we get spammed with logs

2024-08-30T20:53:28.729407Z ERROR send_packets: lightyear::server::networking: Error sending packets: netcode error: tried to send a packet to a client that doesn't exist

Are they really disconnected? Why is there a logspam? Add a unit test

cBournhonesque avatar Aug 30 '24 20:08 cBournhonesque