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
|
||||
postProcessSections(pdDocument, document.getSectionText());
|
||||
|
||||
IOUtils.close(pdDocument);
|
||||
|
||||
tempFile.delete();
|
||||
|
||||
return document;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user