remove superfluous stopPolling
This commit is contained in:
@ -264,7 +264,6 @@
|
||||
|
||||
function onClose(evt) {
|
||||
writeToScreen("disconnected\n");
|
||||
stopPolling();
|
||||
}
|
||||
|
||||
function onError(evt) {
|
||||
@ -272,7 +271,6 @@
|
||||
writeToScreen("Unable to connect to DIL5 as websocket is not connectable\n");
|
||||
} else {
|
||||
writeToScreen("error: " + evt.data + '\n');
|
||||
stopPolling();
|
||||
websocket.close();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user