Fix kill button not showing up when restarting

This commit is contained in:
Dane Everitt 2020-08-13 20:47:16 -07:00
parent c0f7c9bbf3
commit 231ff0386c
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 11 additions and 8 deletions

View file

@ -1,13 +1,6 @@
import Sockette from 'sockette';
import { EventEmitter } from 'events';
export const SOCKET_EVENTS = [
'SOCKET_OPEN',
'SOCKET_RECONNECT',
'SOCKET_CLOSE',
'SOCKET_ERROR',
];
export class Websocket extends EventEmitter {
// Timer instance for this socket.
private timer: any = null;