mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05: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…
Reference in a new issue