Skip to content

Commit

Permalink
fix #793 leaked labelCalcDiv used to calculate label dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
markov00 committed Jan 11, 2015
1 parent 4327f51 commit e2784ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/extensions/renderer.canvas.define-and-init-etc.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@
if( this.removeObserver ){
this.removeObserver.disconnect();
}

if( this.labelCalcDiv ){
document.body.removeChild(this.labelCalcDiv);
}
};


Expand Down

0 comments on commit e2784ab

Please sign in to comment.