Skip to content

Commit

Permalink
Add StaticXmpCoreContainers to cleanUp
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Dec 7, 2023
1 parent ced2453 commit ba0fc79
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
package org.verapdf.model;

import org.verapdf.xmp.XMPException;
import org.verapdf.xmp.containers.StaticXmpCoreContainers;
import org.verapdf.xmp.impl.VeraPDFMeta;
import java.util.logging.Logger;
import org.apache.pdfbox.pdmodel.PDDocument;
Expand Down Expand Up @@ -157,6 +158,7 @@ private static PDFAFlavour obtainFlavour(PDDocument document, PDFAFlavour defaul

private static void cleanUp() {
StaticContainers.clearAllContainers();
StaticXmpCoreContainers.clearAllContainers();
}

@Override
Expand Down

0 comments on commit ba0fc79

Please sign in to comment.