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