close watcher

rdesktop
filip mertens 1 year ago
parent bea74d4124
commit 92feaa0283
  1. 3
      apps/1test/src/electron/engine.ts

@ -20,7 +20,8 @@ ipcMain.handle('engine:activatePlugin', async (event, arg) => {
return await appManager.activatePlugin(arg) return await appManager.activatePlugin(arg)
}) })
app.on('window-all-closed', async () => { app.on('before-quit', async () => {
await appManager.call('fs', 'closeWatch') await appManager.call('fs', 'closeWatch')
console.log('quit') console.log('quit')
app.quit()
}) })
Loading…
Cancel
Save