close final PDDocument
This commit is contained in:
parent
169ab20351
commit
8112f2035a
@ -196,6 +196,8 @@ public class PdfSegmentationService {
|
|||||||
// This can be improved an done in one pass, but it's complicated to do right away
|
// This can be improved an done in one pass, but it's complicated to do right away
|
||||||
postProcessSections(pdDocument, document.getSectionText());
|
postProcessSections(pdDocument, document.getSectionText());
|
||||||
|
|
||||||
|
IOUtils.close(pdDocument);
|
||||||
|
|
||||||
tempFile.delete();
|
tempFile.delete();
|
||||||
|
|
||||||
return document;
|
return document;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user