Skip to content

Commit 7665681

Browse files
committed
PDFBOX-5943: remove page resources after processing the page
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1923475 13f79535-47bb-0310-9956-ffa450edef68
1 parent 68f0516 commit 7665681

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ public void processPage(PDPage page) throws IOException
378378
super.processPage(page);
379379
writePage();
380380
endPage(page);
381+
page.removePageResourceFromCache();
381382
}
382383
}
383384

0 commit comments

Comments
 (0)