commit | e21602ae6c42fe37a64afe848121e80d2dface68 | [log] [tgz] |
---|---|---|
author | Paul Greyson <someone.named.paul@gmail.com> | Fri Apr 12 16:17:22 2013 -0700 |
committer | Paul Greyson <someone.named.paul@gmail.com> | Fri Apr 12 16:17:22 2013 -0700 |
tree | 66eb1a3463c2373fb070aeb678f1950c62c164a7 | |
parent | 60b4c0ac92b0eaa8431b57832f2c2eda6cdc3088 [diff] |
have to clear the iperf fetch timeout in case the flow is selected and then immediately deselected
diff --git a/web/ons-demo/js/iperf.js b/web/ons-demo/js/iperf.js index b74175c..b1f964c 100644 --- a/web/ons-demo/js/iperf.js +++ b/web/ons-demo/js/iperf.js
@@ -185,6 +185,6 @@ } // wait a buffer to make sure the old iperf session gets cleared out - setTimeout(fetchData, updateRate); + flow.iperfFetchTimeout = setTimeout(fetchData, updateRate); } } \ No newline at end of file