From d7103a44396f0e7aa031502cdad95f920ecfe044 Mon Sep 17 00:00:00 2001 From: nmtigor Date: Tue, 20 Sep 2022 11:39:13 +0200 Subject: [PATCH] Fix commFunc typo in the SandboxSupportBase.destroy method --- src/pdf.sandbox.external.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pdf.sandbox.external.js b/src/pdf.sandbox.external.js index 3fda62553..3a53bebbf 100644 --- a/src/pdf.sandbox.external.js +++ b/src/pdf.sandbox.external.js @@ -29,7 +29,7 @@ class SandboxSupportBase { } destroy() { - this.commFunc = null; + this.commFun = null; this.timeoutIds.forEach(([_, id]) => this.win.clearTimeout(id)); this.timeoutIds = null; }