Fasten versions loading

This commit is contained in:
huangyuhui
2018-06-07 00:50:15 +08:00
parent 2ae00db94b
commit 20244fe5cc
2 changed files with 23 additions and 24 deletions

View File

@@ -89,10 +89,8 @@ public final class TaskExecutor {
while (!workerQueue.isEmpty()) {
Future<?> future = workerQueue.poll();
if (future != null) {
if (future != null)
future.cancel(true);
System.out.println("Canceled " + future);
}
}
}