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:
parent
45762c2f0e
commit
34389d4e47
1 changed files with 1 additions and 0 deletions
|
@ -2110,6 +2110,7 @@ const PDFViewerApplication = {
|
|||
) {
|
||||
this._globalAbortController?.abort();
|
||||
this._globalAbortController = null;
|
||||
this.l10n?.pause();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue