Clear prevCallbacks on detach()
authormjanda <mjanda@users.noreply.github.com>
Mon, 2 Feb 2015 09:17:25 +0000 (10:17 +0100)
committerRobert Konigsberg <konigsberg@google.com>
Tue, 26 May 2015 20:46:45 +0000 (16:46 -0400)
extras/synchronizer.js

index e0459fc..fdfec9f 100644 (file)
@@ -123,6 +123,7 @@ Dygraph.synchronize = function(/* dygraphs..., opts */) {
       // release references & make subsequent calls throw.
       dygraphs = null;
       opts = null;
+      prevCallbacks = null;
     }
   };
 };