Revert "Bug fix"

This reverts commit 6e67bfcda5.
This commit is contained in:
Chris Hennick 2023-05-04 12:14:30 -07:00
parent 6e67bfcda5
commit 425a05e1c8
No known key found for this signature in database
GPG key ID: 25653935CC8B6C74

View file

@ -348,9 +348,7 @@ impl<A: Read + Write + Seek> ZipWriter<A> {
self.abort_file().unwrap();
return Err(e.into());
}
self.writing_to_file = false;
self.writing_raw = false;
Ok(())
self.finish_file()
}
}