Browse Source

Fix the operator list deallocation

Yury Delendik 13 years ago
parent
commit
08830731c0
  1. 2
      src/api.js

2
src/api.js

@ -305,7 +305,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
gfx.executeOperatorList(operatorList, startIdx, next, stepper); gfx.executeOperatorList(operatorList, startIdx, next, stepper);
if (startIdx == length) { if (startIdx == length) {
gfx.endDrawing(); gfx.endDrawing();
delete this.operatorList; delete self.operatorList;
stats.timeEnd('Rendering'); stats.timeEnd('Rendering');
stats.timeEnd('Overall'); stats.timeEnd('Overall');
if (callback) callback(); if (callback) callback();

Loading…
Cancel
Save