Prevent ConcurrentModifcationExceptions.
See http://pastebin.com/UBvGSFs9/
Dieser Commit ist enthalten in:
Ursprung
d643690eef
Commit
b3322b35c1
@ -198,6 +198,11 @@ public class BackgroundCompiler {
|
||||
|
||||
synchronized (listenerLock) {
|
||||
list = listeners.get(key);
|
||||
|
||||
// Prevent ConcurrentModificationExceptions
|
||||
if (list != null) {
|
||||
list = Lists.newArrayList(list);
|
||||
}
|
||||
}
|
||||
|
||||
// Only execute the listeners if there is a list
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren