Open
Description
Describe the bug
when create server in electron render process , youmust close the server before reload the page(or load else page) , if not closed manually, the renderer process will crash without any error message
after that, the page will have a white screen, and a "DevTools was disconnected from the page..." alert will pop up, but it can be close,after closing, press F5 again, and the page will reload, and so on.
Reproducing
const server = new zmq.Reply()
server.bind('tcp://127.0.0.1:65535')
//when the page reload
setTimeout(()=>{
//if forget to close
//server.close()
location.reload()
},10*1000)
Expected behavior
Tested on
- OS: [e.g. Ubuntu 18.04, Windows 10] window10
- ZeroMQ.js version: [e.g. 5.1.0, 6.0.0-beta.2] 6.0.4