Sample project for demostration of libuv event loop issue in Electron 9
- Windows 10 Pro 1903 (the problem reproduces only on Windows)
- Visual Studio 2017 with "Desktop development with C++" component
- Node.js 10.18.1
- NPM 6.11.3
- node-gyp 5.0.3 (installed globally)
- python 2.7.16
- npm i
- npm run start
- open build/binding.sln in MSVS
- attach MSVS debugger to all "electron" processes
- in the app window press "execute" 5 times, and check the debugger "Output" window - it will show 5 "myAfterWorkCb" lines
- press "reload", and check debugger "Output" window for "LibuvProblemsModuleDeInit" and "LibuvProblemsModuleInit" lines
- press "execute" 5 times, and check the debugger "Output" window - it will not show 5 "myAfterWorkCb" because uv_after_work_cb is not called