Fix chunks not being GCed

This commit is contained in:
themode 2022-01-12 11:59:42 +01:00
parent 94a13a9523
commit 1eb5c8519d

View File

@ -171,6 +171,9 @@ public final class ThreadDispatcher<P> {
thread.entries().remove(partitionEntry);
}
this.partitionUpdateQueue.remove(partition);
if (partition instanceof Tickable tickable) {
processRemovedEntity(tickable);
}
}
private void processRemovedEntity(Tickable tickable) {