perf101/flot — pull request #2 by chengsun (2012-07-23 13:56:22+00:00)
Title: Immediately stop drawing if shutdown called

This avoids a state where shutdown is called, and a new plot requested, but a draw operation is still scheduled from the previous plot, which may draw incorrect data from the previous plot onto the current plot.

The code is not tested, and not very nice, but it should work.