1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-06-24 21:25:23 +00:00

Receivers: Fixed logic issues with connection monitor

This commit is contained in:
Michael Hollister 2025-04-29 11:57:25 -05:00
parent 270a998e18
commit 9b47627801
9 changed files with 39 additions and 57 deletions

View file

@ -200,6 +200,10 @@ export class Main {
Main.mainWindow?.webContents?.send('ping', message);
Main.playerWindow?.webContents?.send('ping', message);
});
l.emitter.on('pong', (message) => {
Main.mainWindow?.webContents?.send('pong', message);
Main.playerWindow?.webContents?.send('pong', message);
});
l.start();
ipcMain.on('send-playback-error', (event: IpcMainEvent, value: PlaybackErrorMessage) => {