Issue #163 Closing SWF file after read

This commit is contained in:
Jindra Petk
2013-06-29 17:59:13 +02:00
parent c2971e6ebb
commit deeca3fdb2

View File

@@ -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.");