geforkt von Mirrors/FastAsyncWorldEdit
Correctly recycle CharSetBlocks
Dieser Commit ist enthalten in:
Ursprung
9762e4e220
Commit
38d1a64bf5
@ -51,6 +51,7 @@ public class CharSetBlocks extends CharBlocks implements IChunkSet {
|
||||
|
||||
@Override
|
||||
public synchronized void recycle() {
|
||||
reset();
|
||||
POOL.offer(this);
|
||||
}
|
||||
|
||||
|
@ -1046,7 +1046,6 @@ public class ChunkHolder<T extends Future<T>> implements IQueueChunk<T> {
|
||||
try {
|
||||
return this.call(chunkSet, () -> {
|
||||
this.delegate = NULL;
|
||||
chunkSet.recycle();
|
||||
chunkSet = null;
|
||||
calledLock.unlock(stamp);
|
||||
});
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren