diff --git a/src/api.js b/src/api.js index 18644ebe6..f4c42f48c 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();