Fix the ability for IPData refcount to go negative

This commit is contained in:
modeco80
2024-07-10 18:32:05 -04:00
parent a2f450b374
commit bee25b5381
3 changed files with 3 additions and 6 deletions

View File

@@ -170,9 +170,6 @@ export default class CollabVMServer {
this.sendVoteUpdate();
}
// Unreference the IP data.
user.IP.Unref();
if (this.indefiniteTurn === user) this.indefiniteTurn = null;
this.clients.splice(clientIndex, 1);