Fix: Stream-close-warning via IPC statt async executeJavaScript
- Renderer meldet Streaming-Status synchron per IPC - main.js prueft Status synchron im close-Handler - Kein async Race mehr, Dialog erscheint zuverlaessig
This commit is contained in:
parent
e2ae624690
commit
7bebb7db9a
3 changed files with 20 additions and 17 deletions
|
|
@ -6,4 +6,5 @@ contextBridge.exposeInMainWorld('electronAPI', {
|
|||
onUpdateAvailable: (callback) => ipcRenderer.on('update-available', callback),
|
||||
onUpdateReady: (callback) => ipcRenderer.on('update-ready', callback),
|
||||
installUpdate: () => ipcRenderer.send('install-update'),
|
||||
setStreaming: (active) => ipcRenderer.send('streaming-status', active),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue