electron-shutdown-poc
A working POC of a mechanism that synchronously cleans up ElectronJS app tasks before quitting.
How to Run:
yarn install
ornpm i
yarn build
ornpm build
yarn start
ornpm start
Testing the mechanism
- Click either of the "Start long task __" buttons in any order
- Close the app by clicking the "X" button on the application window
- Observe tasks gracefully shutting down before the app quits