Closed manikantag closed 11 years ago
In AndroidApk constructor, 'zip' instance is not being closed.
public AndroidApk(File apkfile) throws ZipException, IOException { ZipFile zip = new ZipFile(apkfile); ... try { ... } finally { IO.close(in); // close the zip (added by Manikanta) try { if(zip != null) { zip.close(); } } catch(IOException e) { // log? } } }
Done. committed, pushed, and new release 1.0.1 on its way to central. Thanks again :)
Thanks
In AndroidApk constructor, 'zip' instance is not being closed.