This commit is contained in:
Chris Hennick 2023-05-04 12:13:19 -07:00
parent e2f9d25b1b
commit 6e67bfcda5
No known key found for this signature in database
GPG key ID: 25653935CC8B6C74

View file

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