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

Merge pull request #18302 from Snuffleupagus/testingClose-findbar-close

Close `PDFFindBar` when closing the viewer during testing
This commit is contained in:
Tim van der Meij 2024-06-20 15:55:36 +02:00 committed by GitHub
commit 1cf19e907d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2112,6 +2112,7 @@ const PDFViewerApplication = {
*/
async testingClose() {
this.l10n?.pause();
this.findBar?.close();
this.unbindEvents();
this.unbindWindowEvents();