Skip to content

electron renderer process crash #663

Open
@YmStrip

Description

@YmStrip

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions