mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-06 16:03:52 +00:00
Merge branch 'master' into feat/info
This commit is contained in:
@@ -83,6 +83,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());
|
||||
|
||||
Reference in New Issue
Block a user