Note enter into ws onclose.
This commit is contained in:
parent
77c58e19ad
commit
5505589604
@ -42,6 +42,7 @@
|
||||
timer = send_data.periodical(1000);
|
||||
};
|
||||
s.onclose = function(e) {
|
||||
debug(">> onclose: " + e);
|
||||
if (timer) {
|
||||
timer = $clear(timer);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user