Skip to content

Commit

Permalink
Bug Fixed: delAllGraph exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaming743 committed May 12, 2019
1 parent 6ea617b commit 61d715e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/crender.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ CRender.prototype.delGraph = function (graph) {
* @return {Undefined} Void
*/
CRender.prototype.delAllGraph = function () {
this.graphs.forEach(graph => graph.delProcessor())
this.graphs.forEach(graph => graph.delProcessor(this))

this.drawAllGraph()
}
Expand Down

0 comments on commit 61d715e

Please sign in to comment.