Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02:00
Always trim chunk GET in ChunkHolder
- Possibly something to do with #1169
Dieser Commit ist enthalten in:
Ursprung
84b9dce6be
Commit
d62a1b5ad3
@ -862,6 +862,8 @@ public class ChunkHolder<T extends Future<T>> implements IQueueChunk<T> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized boolean trim(boolean aggressive) {
|
public synchronized boolean trim(boolean aggressive) {
|
||||||
|
// always trim GET. It could be cached elsewhere.
|
||||||
|
chunkExisting.trim(aggressive);
|
||||||
if (chunkSet != null) {
|
if (chunkSet != null) {
|
||||||
final boolean result = chunkSet.trim(aggressive);
|
final boolean result = chunkSet.trim(aggressive);
|
||||||
if (result) {
|
if (result) {
|
||||||
@ -878,8 +880,6 @@ public class ChunkHolder<T extends Future<T>> implements IQueueChunk<T> {
|
|||||||
} else if (delegate == GET) {
|
} else if (delegate == GET) {
|
||||||
delegate = NULL;
|
delegate = NULL;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
chunkExisting.trim(false);
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren