#776 FFDec stop working at all after setting "number of threads" to 0 fixed

This commit is contained in:
2015-01-21 12:59:07 +01:00
parent 4afa3c4ac1
commit dfd3166bb9
5 changed files with 14 additions and 5 deletions
@@ -169,7 +169,7 @@ public class Traits implements Serializable {
task.call();
}
} else {
ExecutorService executor = Executors.newFixedThreadPool(Configuration.parallelThreadCount.get());
ExecutorService executor = Executors.newFixedThreadPool(Configuration.getParallelThreadCount());
List<Future<Void>> futureResults = null;
futureResults = new ArrayList<>();