From f4813113d964572e67dec009cb755fc42d78d135 Mon Sep 17 00:00:00 2001 From: Tyler Date: Wed, 26 Sep 2018 08:43:54 -0700 Subject: [PATCH] Removing undefining poll. --- ui/src/app/components/poll/poll.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/src/app/components/poll/poll.component.ts b/ui/src/app/components/poll/poll.component.ts index 13f8425..57fae6a 100755 --- a/ui/src/app/components/poll/poll.component.ts +++ b/ui/src/app/components/poll/poll.component.ts @@ -116,7 +116,6 @@ export class PollComponent implements OnInit { websocketCloseWatcher = setInterval(() => { let readyState = this.pollService.ws.getReadyState(); if (readyState != 1) { - this.poll = undefined; this.websocketReconnect(); } }, this.reconnnectTimeWaitMS);