From 2f559601363ce2b279b30d7f53434c3f396c61bf Mon Sep 17 00:00:00 2001 From: Honfika Date: Tue, 20 Aug 2013 19:26:34 +0200 Subject: [PATCH] Issue #313: command line parameter for ignore all errors --- trunk/src/com/jpexs/decompiler/flash/SWF.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/com/jpexs/decompiler/flash/SWF.java b/trunk/src/com/jpexs/decompiler/flash/SWF.java index 13f44e363..f05d115e3 100644 --- a/trunk/src/com/jpexs/decompiler/flash/SWF.java +++ b/trunk/src/com/jpexs/decompiler/flash/SWF.java @@ -598,7 +598,7 @@ public class SWF { } public List exportActionScript3(AbortRetryIgnoreHandler handler, String outdir, boolean isPcode, boolean parallel) { - ExecutorService executor = Executors.newFixedThreadPool(20); + ExecutorService executor = Executors.newFixedThreadPool(parallel ? 20 : 1); List> futureResults = new ArrayList<>(); AtomicInteger cnt = new AtomicInteger(1); List abcTags = new ArrayList<>();