Skip to content

jphw/libuv_problems

Repository files navigation

libuv_problems

Sample project for demostration of libuv event loop issue in Electron 9

original dev env

  1. Windows 10 Pro 1903 (the problem reproduces only on Windows)
  2. Visual Studio 2017 with "Desktop development with C++" component
  3. Node.js 10.18.1
  4. NPM 6.11.3
  5. node-gyp 5.0.3 (installed globally)
  6. python 2.7.16

how to run

  1. npm i
  2. npm run start
  3. open build/binding.sln in MSVS
  4. attach MSVS debugger to all "electron" processes
  5. in the app window press "execute" 5 times, and check the debugger "Output" window - it will show 5 "myAfterWorkCb" lines
  6. press "reload", and check debugger "Output" window for "LibuvProblemsModuleDeInit" and "LibuvProblemsModuleInit" lines
  7. press "execute" 5 times, and check the debugger "Output" window - it will not show 5 "myAfterWorkCb" because uv_after_work_cb is not called

About

Sample project for demostration of libuv event loop issue in Electron 9

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published