Skip to content

Ensure transport is destroyed if the document fails to load#5572

Closed
gerges-zz wants to merge 1 commit intomozilla:masterfrom
gerges-zz:cleanup-failed-worker
Closed

Ensure transport is destroyed if the document fails to load#5572
gerges-zz wants to merge 1 commit intomozilla:masterfrom
gerges-zz:cleanup-failed-worker

Conversation

@gerges-zz
Copy link

Currently if a document fails to load, the transport created is never cleaned up. This abandons a webworker which no longer needs to exist. The following document can be used to recreate this on the pdf.js demo viewer (and is re-producable on master)

https://drive.google.com/file/d/0B-t46RM6nE09cXpEb3QtVDVocUU/view?usp=sharing

issue

Video of issue: https://www.youtube.com/watch?v=PC81V7_4q0M

@timvandermeij
Copy link
Contributor

Superseded by #6546. Closing. If we've missed something, please open a new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants