We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84a2e9b commit 87d75c1Copy full SHA for 87d75c1
renet_steam/src/server.rs
@@ -159,6 +159,13 @@ impl SteamServerTransport {
159
});
160
}
161
162
+
163
+ for disconnection_id in server.disconnections_id() {
164
+ server.remove_connection(disconnection_id);
165
+ if let Some(connection) = self.connections.remove(&disconnection_id) {
166
+ connection.close(NetConnectionEnd::App(AppNetConnectionEnd::generic_normal()), Some("Renet"), false);
167
+ }
168
169
170
171
/// Send packets to connected clients.
0 commit comments