mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 15:26:51 +00:00
give hyperLock a purpose again
This commit is contained in:
1 parent
650d38e212
commit
1a786fb418
1 file changed
+2
-2
@@ -451,8 +451,8 @@ public class Mantle {
|
||||
List<Future<?>> futures = new ArrayList<>();
|
||||
ExecutorService service = Executors.newFixedThreadPool(dynamicThreads.get());
|
||||
for (Long id : new ArrayList<>(toUnload)) {
|
||||
hyperLock.withLong(id, () ->
|
||||
futures.add(service.submit(() -> {
|
||||
futures.add(service.submit(() ->
|
||||
hyperLock.withLong(id, () -> {
|
||||
TectonicPlate m = loadedRegions.get(id);
|
||||
if (m != null) {
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user