{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/6577","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6577/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6577/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6577/events","html_url":"https://github.com/mozilla/pdf.js/issues/6577","id":114047757,"number":6577,"title":"Error on `PDFDocumentLoadingTask.destroy`: Cannot read property 'objs' of undefined","user":{"login":"Kureev","id":2273613,"avatar_url":"https://avatars.githubusercontent.com/u/2273613?v=3","gravatar_id":"","url":"https://api.github.com/users/Kureev","html_url":"https://github.com/Kureev","followers_url":"https://api.github.com/users/Kureev/followers","following_url":"https://api.github.com/users/Kureev/following{/other_user}","gists_url":"https://api.github.com/users/Kureev/gists{/gist_id}","starred_url":"https://api.github.com/users/Kureev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kureev/subscriptions","organizations_url":"https://api.github.com/users/Kureev/orgs","repos_url":"https://api.github.com/users/Kureev/repos","events_url":"https://api.github.com/users/Kureev/events{/privacy}","received_events_url":"https://api.github.com/users/Kureev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/4-information-requested","name":"4-information-requested","color":"0b02e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-29T13:20:57Z","updated_at":"2015-10-29T14:15:06Z","closed_at":null,"body":"![image](https://cloud.githubusercontent.com/assets/2273613/10819416/33cfe050-7e48-11e5-8f00-02a945567936.png)\r\nVersion 1.2.38\r\nOccurs when I try to cancel existing transfer.\r\n\r\nSeems `messageHandler` keeps receiving 'obj' messages even after `destroy()`. But `pageCache` object has been flushed already, so line 2915 `if (pageProxy.objs.hasData(id)) {` throws an error above.\r\n\r\ncc @yurydelendik "},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/152193435","html_url":"https://github.com/mozilla/pdf.js/issues/6577#issuecomment-152193435","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6577","id":152193435,"user":{"login":"Kureev","id":2273613,"avatar_url":"https://avatars.githubusercontent.com/u/2273613?v=3","gravatar_id":"","url":"https://api.github.com/users/Kureev","html_url":"https://github.com/Kureev","followers_url":"https://api.github.com/users/Kureev/followers","following_url":"https://api.github.com/users/Kureev/following{/other_user}","gists_url":"https://api.github.com/users/Kureev/gists{/gist_id}","starred_url":"https://api.github.com/users/Kureev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kureev/subscriptions","organizations_url":"https://api.github.com/users/Kureev/orgs","repos_url":"https://api.github.com/users/Kureev/repos","events_url":"https://api.github.com/users/Kureev/events{/privacy}","received_events_url":"https://api.github.com/users/Kureev/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T14:15:06Z","updated_at":"2015-10-29T14:15:06Z","body":"@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"}}