Nicolò Ribaudo
b982ac42e4
Suppress more errors due to closed documents
...
Closing/switching the document in the viewer will cause multiple
tasks to fail. Other code paths already have
`if (pdfDocument !== this.pdfDocument) return;` checks to know if the
document has been changed after an async step, but it was missing in
some places leading to errors being logged in the console.
This commit adds the check in those places.
2026-11-24 15:57:14 +01:00
..
2026-10-26 21:44:06 +01:00
2026-11-03 18:03:47 +01:00
2025-01-18 09:35:11 +01:00
2026-05-29 22:11:58 +02:00
2026-10-26 21:44:06 +01:00
2026-10-26 21:44:06 +01:00
2026-09-20 14:27:44 +02:00
2026-10-26 21:44:06 +01:00
2026-08-31 11:57:30 +02:00
2026-10-17 14:02:39 +02:00
2026-10-31 12:16:14 +01:00
2026-11-19 16:34:20 +01:00
2026-11-19 16:34:20 +01:00
2026-10-24 12:55:48 +02:00
2026-10-12 19:02:32 +02:00
2026-11-04 21:05:23 +01:00
2026-08-31 11:57:30 +02:00
2026-08-14 17:20:05 +02:00
2026-04-25 12:13:12 +02:00
2026-08-31 11:57:30 +02:00
2026-08-14 17:20:05 +02:00
2026-09-20 16:06:17 +02:00
2025-08-22 18:26:59 +02:00
2026-08-12 12:38:29 +02:00
2026-08-14 17:20:05 +02:00
2026-07-23 12:44:20 +02:00
2026-08-14 17:20:05 +02:00
2026-02-01 17:56:03 +01:00
2026-06-25 15:55:26 +02:00
2026-08-31 11:57:30 +02:00
2026-05-29 22:11:58 +02:00
2026-11-11 22:39:31 +01:00
2026-09-06 21:29:59 +02:00
2026-06-09 22:08:08 +02:00
2026-11-15 16:41:03 +01:00
2026-11-15 15:05:22 +01:00
2025-04-09 12:06:40 +02:00
2026-11-11 22:39:31 +01:00
2026-09-19 19:17:01 +02:00
2026-08-31 11:57:30 +02:00
2026-05-29 22:11:58 +02:00
2026-08-31 16:38:24 +02:00
2026-08-16 19:18:30 +02:00
2026-08-04 12:41:46 +02:00
2026-08-14 17:20:05 +02:00
2026-08-15 09:47:59 +02:00
2025-02-14 15:43:00 +01:00
2026-11-11 22:39:31 +01:00
2026-11-11 22:39:31 +01:00
2026-08-31 11:57:30 +02:00
2026-11-11 22:39:31 +01:00
2026-02-14 12:33:34 +01:00
2026-11-11 22:39:31 +01:00
2026-10-22 22:10:06 +02:00
2026-09-20 14:27:44 +02:00
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-11-11 22:39:31 +01:00
2026-10-19 12:03:19 +02:00
2026-11-19 16:34:20 +01:00
2026-09-20 14:27:44 +02:00
2026-11-12 12:33:59 +01:00
2026-11-04 14:10:16 +01:00
2026-10-11 16:52:11 +02:00
2026-11-15 15:05:22 +01:00
2026-11-11 22:39:31 +01:00
2026-11-11 22:39:31 +01:00
2026-11-07 17:16:39 +01:00
2026-02-01 17:56:06 +01:00
2026-11-06 11:07:31 +01:00
2026-11-24 15:57:14 +01:00
2026-11-12 12:33:59 +01:00
2026-08-31 11:57:30 +02:00
2026-05-16 12:31:53 +02:00
2026-08-31 11:57:30 +02:00
2026-08-31 11:57:30 +02:00
2026-08-14 17:20:05 +02:00
2026-08-31 11:57:30 +02:00
2026-09-08 22:13:11 +02:00
2026-08-14 17:20:05 +02:00
2026-10-03 16:03:17 +02:00
2026-11-11 22:39:31 +01:00
2026-06-30 13:25:09 +02:00
2026-08-31 11:57:30 +02:00
2026-09-19 19:17:01 +02:00
2026-11-19 16:34:20 +01:00
2026-11-19 16:34:20 +01:00
2026-07-30 23:13:43 +02:00
2026-11-12 18:15:30 -05:00
2026-08-31 11:57:30 +02:00
2026-08-14 17:20:05 +02:00
2026-11-05 19:56:01 +01:00
2026-09-19 19:17:01 +02:00
2026-10-26 21:44:06 +01:00
2026-09-08 22:13:11 +02:00
2026-02-01 17:56:06 +01:00
2025-11-18 17:22:50 +01:00
2026-05-14 12:50:07 +02:00
2025-11-18 17:22:50 +01:00
2026-11-08 22:23:25 +01:00
2026-11-09 20:18:38 +01:00
2026-07-25 08:43:01 +02:00
2026-09-02 08:31:15 +02:00
2026-11-07 17:16:39 +01:00
2026-11-09 14:39:43 +01:00
2026-08-31 11:57:30 +02:00