forked from External/mage
other: fixed rare errors on images download opening, fixed wrong code in chats and preferences store;
This commit is contained in:
parent
3d6a2817ae
commit
e386210b91
4 changed files with 31 additions and 9 deletions
|
|
@ -132,7 +132,7 @@ public class ChatSession {
|
|||
}
|
||||
}
|
||||
if (!clientsToRemove.isEmpty()) {
|
||||
final Lock w = lock.readLock();
|
||||
final Lock w = lock.writeLock();
|
||||
w.lock();
|
||||
try {
|
||||
users.keySet().removeAll(clientsToRemove);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue