Skip to content

Commit 90ea98f

Browse files
committed
fix: small leak
1 parent 3864770 commit 90ea98f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

c2me-rewrites-chunk-system/src/main/java/com/ishland/c2me/rewrites/chunksystem/common/structs/ChunkSystemExecutors.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public class ChunkSystemExecutors {
1818
Queue<Runnable> runnables = CONSOLIDATING_QUEUE.get();
1919
if (runnables == null) { // first entry
2020
consolidatingRoot(command);
21+
CONSOLIDATING_QUEUE.remove(); // get() initielizes threadlocal
2122
return;
2223
}
2324
runnables.add(command);

0 commit comments

Comments
 (0)