From 34389d4e47c3bfdd1e26b9aca3be4501dcdfe792 Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Tue, 18 Jun 2024 19:27:45 +0200 Subject: [PATCH] Pause l10n (i.e. disconnect the mutation observer in fluent) when closing the viewer --- web/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app.js b/web/app.js index a2b272a5a..93584dfce 100644 --- a/web/app.js +++ b/web/app.js @@ -2110,6 +2110,7 @@ const PDFViewerApplication = { ) { this._globalAbortController?.abort(); this._globalAbortController = null; + this.l10n?.pause(); } },