Fix kill button not showing up when restarting
This commit is contained in:
parent
c0f7c9bbf3
commit
231ff0386c
3 changed files with 11 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue