mirror of
https://codeberg.org/emersion/gamja.git
synced 2025-04-12 05:34:34 -04:00
Remove client from map on disconnect
This commit is contained in:
parent
4991518ed5
commit
727331c859
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue