Delete, and clear, the image
in PDFThumbnailView_reset
*Follow-up to PR 6299.*
This commit is contained in:
parent
555c7925a0
commit
d7a90d83de
@ -160,6 +160,10 @@ var PDFThumbnailView = (function PDFThumbnailViewClosure() {
|
||||
this.canvas.height = 0;
|
||||
delete this.canvas;
|
||||
}
|
||||
if (this.image) {
|
||||
this.image.removeAttribute('src');
|
||||
delete this.image;
|
||||
}
|
||||
},
|
||||
|
||||
update: function PDFThumbnailView_update(rotation) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user