Skip to content

inspector: Put connect and disconnect events into message queue

Rodrigo Muino Tomonari requested to merge github/fork/eugeneo/async-connect into master
Checklist
  • make -j4 test (UNIX) or vcbuild test nosign (Windows) passes
  • the commit message follows commit guidelines
Affected core subsystem(s)

inspector

Description of change

Putting connect and disconnect events into the message queue removes some unlikely race conditions. It also allows reusing the V8 interrupt when frontend connects to Node.js running an infinite loop.

CC: @ofrobots

Merge request reports

Loading