Commit 55055896 authored by Joel Martin's avatar Joel Martin

Note enter into ws onclose.

parent 77c58e19
......@@ -42,6 +42,7 @@
timer = send_data.periodical(1000);
};
s.onclose = function(e) {
debug(">> onclose: " + e);
if (timer) {
timer = $clear(timer);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment