mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-25 03:55:35 +01:00
Remove debug message
This commit is contained in:
parent
8461f406cf
commit
f9ee91f192
@ -106,8 +106,18 @@ public class SetQueue {
|
||||
e.printStackTrace();
|
||||
}
|
||||
if (pool.getQueuedSubmissionCount() != 0 || pool.getRunningThreadCount() != 0 || pool.getQueuedTaskCount() != 0) {
|
||||
Fawe.debug("Error flushing parallel pool");
|
||||
if (Fawe.get().isJava8()) {
|
||||
pool.awaitQuiescence(Long.MAX_VALUE, TimeUnit.MILLISECONDS);
|
||||
} else {
|
||||
try {
|
||||
for (Runnable run : pool.shutdownNow()) {
|
||||
run.run();
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
pool = new ForkJoinPool();
|
||||
}
|
||||
}
|
||||
secondLast = System.currentTimeMillis();
|
||||
} catch (Throwable e) {
|
||||
|
Loading…
Reference in New Issue
Block a user