Remove client from map on disconnect
This commit is contained in:
1 parent
4991518ed5
commit
727331c859
1 file changed
+1
@@ -478,6 +478,7 @@ export default class App extends Component {
|
||||
|
||||
var client = this.clients.get(netID);
|
||||
if (client) {
|
||||
this.clients.delete(netID);
|
||||
client.disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user