From: Yury Delendik Date: Mon, 16 Apr 2012 18:38:27 +0000 (-0500) Subject: Fix the operator list deallocation X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=08830731c068d3571d2437245a017089bcee3a86;p=pdf.js.git Fix the operator list deallocation --- diff --git a/src/api.js b/src/api.js index 18644eb..f4c42f4 100644 --- a/src/api.js +++ b/src/api.js @@ -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();