Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

electron renderer process crash #663

Open
YmStrip opened this issue Oct 20, 2024 · 2 comments
Open

electron renderer process crash #663

YmStrip opened this issue Oct 20, 2024 · 2 comments

Comments

@YmStrip
Copy link

YmStrip commented Oct 20, 2024

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
@YmStrip YmStrip added the bug label Oct 20, 2024
@aminya
Copy link
Member

aminya commented Oct 20, 2024

Could you try with 6.0.8?
Adding a full reproduction repo would be useful.

@YmStrip
Copy link
Author

YmStrip commented Oct 20, 2024

nodejs 20.12.2 electron 32.0.0, i upgrade to 6.0.8 , the problem still exists , although it is not very serious error and only needs to be close manually, but it was really annoying before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants