mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-26 12:18:02 +00:00
missing lock
This commit is contained in:
parent
19c84475db
commit
548752e240
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue