Garbage collect after each class

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@442 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 0e1e5a6830
commit 031543199d
  1. 2
      jode/jode/Decompiler.java

@ -207,6 +207,8 @@ public class Decompiler {
destZip.closeEntry(); destZip.closeEntry();
} else if (destDir != null) } else if (destDir != null)
writer.close(); writer.close();
/* Now is a good time to clean up */
System.gc();
} catch (IOException ex) { } catch (IOException ex) {
err.println("Can't write source of "+params[i]+"."); err.println("Can't write source of "+params[i]+".");
err.println("Check the permissions."); err.println("Check the permissions.");

Loading…
Cancel
Save