Dief Bell

Results 5 comments of Dief Bell

We are also having this issue on Electron 12.1.0 (Node 14.16.0) with ZeroMQ 6.1.2 (v5-compat). It is likely caused by how reloading creates a fresh Chromium context but not a...

Repo with bare minimum to reproduce the issue: https://github.com/diefbell-grabcad/ZeroMQ-Electron-Refresh-Crash-Repro I've even tried to close the socket I've created on window refresh.

I've found that opening a socket isn't even required to cause the crash, just importing `zeromq` is enough to cause the crash. I've updated my repo accordingly.

On ZeroMQ v5, importing `zeromq` and even leaving a socket open doesn't cause the crash, however leaving a socket connected _does_ cause a crash. We could of course leave it...

Created PR for this: https://github.com/zeromq/zeromq.js/pull/678 @YmStrip could you please test if this works for you? If you can be bothered with the faff of building ZMQ locally