Note enter into ws onclose.

This commit is contained in:
Joel Martin 2010-03-31 15:24:43 -05:00
parent 77c58e19ad
commit 5505589604
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@
timer = send_data.periodical(1000);
};
s.onclose = function(e) {
debug(">> onclose: " + e);
if (timer) {
timer = $clear(timer);
}