Fixed: #1627 Previously decompiled scripts not cached

Fixed: SWF is not garbage collected on close in some situations
Fixed: AS1/2 script search does not show all results
This commit is contained in:
Jindra Petřík
2021-03-05 21:22:55 +01:00
parent e308c00601
commit 28380d1d34
12 changed files with 131 additions and 22 deletions
+2 -1
View File
@@ -107,7 +107,6 @@ import java.util.Objects;
import java.util.Set;
import java.util.concurrent.CancellationException;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.logging.ConsoleHandler;
import java.util.logging.FileHandler;
import java.util.logging.Formatter;
@@ -922,6 +921,8 @@ public class Main {
try {
result.add(worker.get());
worker.free();
worker = null;
} catch (CancellationException ex) {
logger.log(Level.WARNING, "Loading SWF {0} was cancelled.", sourceInfo.getFileTitleOrName());
}