From 7602294f4ddc622a3da0a387d9adb97337328837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sun, 6 Nov 2022 19:04:30 +0100 Subject: [PATCH] Proper missing needed thread termination --- src/com/jpexs/decompiler/flash/gui/MainPanel.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/jpexs/decompiler/flash/gui/MainPanel.java b/src/com/jpexs/decompiler/flash/gui/MainPanel.java index b1b7439ad..9a99c306f 100644 --- a/src/com/jpexs/decompiler/flash/gui/MainPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/MainPanel.java @@ -4491,12 +4491,12 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se } public void dispose() { - setDropTarget(null); - disposeInner(this); - Helper.emptyObject(this); if (calculateMissingNeededThread != null) { calculateMissingNeededThread.interrupt(); } + setDropTarget(null); + disposeInner(this); + Helper.emptyObject(this); } private static void calculateMissingNeededCharacters(Map> missingNeededCharacters, Timelined tim) {