diff --git a/src/main/index.ts b/src/main/index.ts index d4a3f663..bf576390 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -445,7 +445,9 @@ ipcMain.on('start-all-user-streamings', (event: Event, accounts: Array { - event.sender.send(`update-start-all-user-streamings-${id}`, update) + if (!event.sender.isDestroyed()) { + event.sender.send(`update-start-all-user-streamings-${id}`, update) + } }, (notification: RemoteNotification) => { const preferences = new Preferences(preferencesDBPath)