mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-04 06:35:10 +00:00
Issue #163 Closing SWF file after read
This commit is contained in:
@@ -202,6 +202,7 @@ public class Main {
|
||||
}
|
||||
}
|
||||
});
|
||||
fis.close();
|
||||
return locswf;
|
||||
}
|
||||
|
||||
@@ -217,7 +218,6 @@ public class Main {
|
||||
try {
|
||||
Main.startWork("Reading SWF...");
|
||||
swf = parseSWF(Main.file);
|
||||
FileInputStream fis = new FileInputStream(file);
|
||||
} catch (Exception ex) {
|
||||
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
|
||||
JOptionPane.showMessageDialog(null, "Cannot load SWF file.");
|
||||
|
||||
Reference in New Issue
Block a user