Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose a function to cancel rendering job in worker #59

Closed
fabiiomiiguel opened this issue Jul 11, 2022 · 3 comments
Closed

Expose a function to cancel rendering job in worker #59

fabiiomiiguel opened this issue Jul 11, 2022 · 3 comments

Comments

@fabiiomiiguel
Copy link

fabiiomiiguel commented Jul 11, 2022

Hello, first of all thank you for your amazing package.

My feature request is because, I use a modal with your pdf viewer, and some times if we are too quickly the worker doesn't stop is previous rendering job.
So if we close while its still rendering and re-open immediately after. The package will throw an error and then we need to close and re-open again to make it work.

So maybe it would be nice to have some type of function to call with this.$refs, to cancel the current job rendering manually.

@hrynko
Copy link
Owner

hrynko commented Jul 23, 2022

Hi @fabiiomiiguel,

According to the description it looks very similar to this one. This has already been fixed but not released.

@fabiiomiiguel
Copy link
Author

Yes maybe it's related, when you release that version, I would let you know if that solves my question.

@hrynko
Copy link
Owner

hrynko commented Nov 8, 2022

It's been a while, but it's released in 1.1.5

Feel free to reopen this issue if it's not fixed

@hrynko hrynko closed this as completed Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants