Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-06 16:12: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
|
||||
public synchronized boolean trim(boolean aggressive) {
|
||||
// always trim GET. It could be cached elsewhere.
|
||||
chunkExisting.trim(aggressive);
|
||||
if (chunkSet != null) {
|
||||
final boolean result = chunkSet.trim(aggressive);
|
||||
if (result) {
|
||||
@ -878,8 +880,6 @@ public class ChunkHolder<T extends Future<T>> implements IQueueChunk<T> {
|
||||
} else if (delegate == GET) {
|
||||
delegate = NULL;
|
||||
}
|
||||
} else {
|
||||
chunkExisting.trim(false);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren