Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-02 17:40:09 +01:00
Remove deep synchronisation that is a very plausible cause of circular locking.
This may be a fix for #685
Dieser Commit ist enthalten in:
Ursprung
f71ca32140
Commit
def986710f
@ -17,7 +17,7 @@ public abstract class CharBlocks implements IBlocks {
|
||||
};
|
||||
public static final Section EMPTY = new Section() {
|
||||
@Override
|
||||
public synchronized final char[] get(CharBlocks blocks, int layer) {
|
||||
public final char[] get(CharBlocks blocks, int layer) {
|
||||
char[] arr = blocks.blocks[layer];
|
||||
if (arr == null) {
|
||||
arr = blocks.blocks[layer] = blocks.update(layer, null);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren