diff --git a/Octane/pdfjs.js b/Octane/pdfjs.js index 9cfa0eb3..b70f2a34 100644 --- a/Octane/pdfjs.js +++ b/Octane/pdfjs.js @@ -77,6 +77,7 @@ function tearDownPdfJS() { throw message; } } + canvas_logs = []; // Allow GC of global state. delete this.PDFJS; delete this.PdfJS_window; @@ -33052,6 +33053,10 @@ class Benchmark { runIteration() { runPdfJS(); } + + validate() { + tearDownPdfJS(); + } } setupPdfJS();