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:
parent
270a998e18
commit
9b47627801
9 changed files with 39 additions and 57 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue