Skip to content

Commit

Permalink
Merge pull request #333 from veraPDF/static_xmp_containers
Browse files Browse the repository at this point in the history
Add StaticXmpCoreContainers to cleanUp
  • Loading branch information
MaximPlusov authored Dec 11, 2023
2 parents 23f8326 + ba0fc79 commit 4b4a6ef
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 4b4a6ef

Please sign in to comment.