pingjiang / dygraphs

Automatically exported from code.google.com/p/dygraphs
0 stars 0 forks source link

Plugin.destroy is never called #500

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It seems that the 'destroy' method of the plugins is never called which can 
make cleanup difficult. I would expect the 'destroy' function of the Dygraph 
class to do something like this:

for (var i = 0; i < this.plugins_.length; i++) {
    this.plugins_[i].destroy();
}

Original issue reported on code.google.com by ja...@cutehacks.com on 10 Dec 2013 at 12:36

GoogleCodeExporter commented 9 years ago

Original comment by konigsb...@google.com on 6 Apr 2014 at 12:53