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

Loading…
Cancel
Save