We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ef3fc4 commit 703f4faCopy full SHA for 703f4fa
src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java
@@ -651,8 +651,10 @@ protected void close() throws IOException {
651
if (zipArchiveOutputStream != null) {
652
if (zOut != null) {
653
zOut.writeTo(zipArchiveOutputStream);
654
+ } else {
655
+ zipArchiveOutputStream.close();
656
}
- zipArchiveOutputStream.close();
657
+ zipArchiveOutputStream = null;
658
659
} catch (IOException ex) {
660
// If we're in this finally clause because of an
0 commit comments