enet-rs
enet-rs copied to clipboard
Clear all peer data when ENet is shut down
Currently, when ENet is shut down (e.g., because the application exits), we don't clean up data associated with peers (as this only happens when an Event::Disconnect
is handled).