mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
missing lock
This commit is contained in:
@@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user