mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
Cleanup references to dom elements.
This commit is contained in:
parent
70beb11a50
commit
2ca8c0d999
2 changed files with 5 additions and 1 deletions
|
@ -1707,6 +1707,7 @@ var TextLayerBuilder = function textLayerBuilder(textLayerDiv) {
|
|||
if (textDivs.length === 0) {
|
||||
clearInterval(renderTimer);
|
||||
renderingDone = true;
|
||||
self.textLayerDiv = textLayerDiv = canvas = ctx = null;
|
||||
return;
|
||||
}
|
||||
var textDiv = textDivs.shift();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue