1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Pause l10n (i.e. disconnect the mutation observer in fluent) when closing the viewer

This commit is contained in:
Calixte Denizet 2024-06-18 19:27:45 +02:00
parent 45762c2f0e
commit 34389d4e47

View file

@ -2110,6 +2110,7 @@ const PDFViewerApplication = {
) {
this._globalAbortController?.abort();
this._globalAbortController = null;
this.l10n?.pause();
}
},