-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Error on PDFDocumentLoadingTask.destroy
: Cannot read property 'objs' of undefined
#6577
Comments
@Kureev can you provide a test case? |
Also see if #6571 fixes the issue |
@yurydelendik I'm using it for a single document, so seems #6571 can't help me with it. What kind of a test case do you want? |
A test case that demonstrate the issue. You already have a code, so it will save the project contributors time to narrow down the issue. |
@yurydelendik Unfortunately, I don't have a permission to share this code with anybody, but I'll try to compose a sandbox to demonstrate it |
Okay, it looks like the similar issue as in #6560, but at different timing. Used PDF document is also matters. (You can reproduce with high rate if you will add |
This works ❤️ ! |
Version 1.2.38
Occurs when I try to cancel existing transfer.
Seems
messageHandler
keeps receiving 'obj' messages even afterdestroy()
. ButpageCache
object has been flushed already, so line 2915if (pageProxy.objs.hasData(id)) {
throws an error above.cc @yurydelendik
The text was updated successfully, but these errors were encountered: