mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-11-30 16:37:18 +01:00
The timeout was introduced in commit402e3fewith equal timeouts around the helper function call. In commit55e5af2the timeouts around the helper function call have been removed, and it looks like the helper function itself was not updated purely due to an oversight. The operations here should not require any timeouts because the promises only resolve once the action is completed, which also explains why removing the timeouts surrounding the helper function calls went without any problems. It should therefore be safe to remove this timeout too.