missing lock

This commit is contained in:
Kelvin 2025-06-26 14:35:00 +02:00
commit 548752e240

View file

@ -34,8 +34,10 @@ class PlatformClientPool {
isDead = true; isDead = true;
onDead.emit(parentClient, this); onDead.emit(parentClient, this);
for(clientPair in _pool) { synchronized(_pool) {
clientPair.key.disable(); for (clientPair in _pool) {
clientPair.key.disable();
}
} }
}; };
} }