You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all, I've been working on a tool to identify instances of events registered to the wrong object in uses of some JavaScript event-driven APIs, as part of a research project.
The tool flagged line 49 in example/server.js, on the registration of the listener for death.
The reason I believe this is an error is as follows (from looking at the nodejs cluster API documentation):
the listener for death is registered on the return from the call to cluster.fork().
However, death is not an event on cluster.Worker.
Thanks!
The text was updated successfully, but these errors were encountered:
This is a very very old module and it uses outdated event names. I don't think that anyone uses it nor that it compiles for the recent Node.js versions.
Thank you for reaching out and good luck with your research!
Hi all, I've been working on a tool to identify instances of events registered to the wrong object in uses of some JavaScript event-driven APIs, as part of a research project.
The tool flagged line 49 in example/server.js, on the registration of the listener for
death
.The reason I believe this is an error is as follows (from looking at the nodejs cluster API documentation):
the listener for
death
is registered on the return from the call tocluster.fork()
.However,
death
is not an event on cluster.Worker.Thanks!
The text was updated successfully, but these errors were encountered: