mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-12 23:43:42 +01:00
Remove client from map on disconnect
This commit is contained in:
parent
4991518ed5
commit
727331c859
@ -478,6 +478,7 @@ export default class App extends Component {
|
||||
|
||||
var client = this.clients.get(netID);
|
||||
if (client) {
|
||||
this.clients.delete(netID);
|
||||
client.disconnect();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user