mirror of https://github.com/apache/poi.git
Add missing revert() in OPCPackage to close Zip-streams always
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1850115 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fa24471916
commit
59a7919af6
|
@ -455,6 +455,9 @@ public abstract class OPCPackage implements RelationshipSource, Closeable {
|
|||
output.close();
|
||||
}
|
||||
|
||||
// ensure all held resources are freed
|
||||
revert();
|
||||
|
||||
// Clear
|
||||
this.contentTypeManager.clearAll();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue