diff --git a/src/display/api.js b/src/display/api.js index fdc1404a2..ada95d622 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -1468,6 +1468,7 @@ class PDFPageProxy { this.objs.clear(); this.annotationsPromise = null; this._jsActionsPromise = null; + this._xfaPromise = null; this.pendingCleanup = false; return Promise.all(waitOn); } @@ -1502,6 +1503,7 @@ class PDFPageProxy { this.objs.clear(); this.annotationsPromise = null; this._jsActionsPromise = null; + this._xfaPromise = null; if (resetStats && this._stats) { this._stats = new StatTimer(); }