update + cleanup

- update electron
- cleanup unused function calls
- close websocket on process end
- style fix on splash screen
This commit is contained in:
cv
2021-06-11 08:54:35 +02:00
parent d255edebd4
commit 0e550dedc6
6 changed files with 32 additions and 17 deletions
+8
View File
@@ -81,6 +81,14 @@ export class EventTimer extends Timer {
this._listenToConnections();
}
/**
* @description Shutdown process
*/
shutdown() {
console.log('Closing socket server');
this.io.close();
}
// send current timer
broadcastTimer() {
this.io.emit('timer', this.getObject());