mirror of
https://github.com/apache/poi.git
synced 2025-02-09 19:44:50 +00:00
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();
|
output.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ensure all held resources are freed
|
||||||
|
revert();
|
||||||
|
|
||||||
// Clear
|
// Clear
|
||||||
this.contentTypeManager.clearAll();
|
this.contentTypeManager.clearAll();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user