From: mjanda Date: Mon, 2 Feb 2015 09:17:25 +0000 (+0100) Subject: Clear prevCallbacks on detach() X-Git-Tag: v1.1.1~13 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=c7c736224ab1ec296362fc83cf1eb2d1f195436e;p=dygraphs.git Clear prevCallbacks on detach() --- diff --git a/extras/synchronizer.js b/extras/synchronizer.js index e0459fc..fdfec9f 100644 --- a/extras/synchronizer.js +++ b/extras/synchronizer.js @@ -123,6 +123,7 @@ Dygraph.synchronize = function(/* dygraphs..., opts */) { // release references & make subsequent calls throw. dygraphs = null; opts = null; + prevCallbacks = null; } }; };