Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

[cluster.js] removeHandlesForWorker() on both 'exit' and 'disconnect' events. #9418

Closed
wants to merge 2 commits into from

Commits on Mar 16, 2015

  1. removeHandle on both 'exit' and 'disconnect' event

    [cluster.js][worker] Calls �����removeHandlesForWorker(worker) on both 'exit' and 'disconnect' event instead of just 'disconnect' because sometimes it happens that 'disconnect' event isn't emitted at all in which case some handles with be left and when all workers will be dead an exception raised "AssertionError: Resource leak detected".
    jshkurti committed Mar 16, 2015
    Configuration menu
    Copy the full SHA
    99a572d View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2015

  1. Update cluster.js

    jshkurti committed Mar 19, 2015
    Configuration menu
    Copy the full SHA
    33a4c12 View commit details
    Browse the repository at this point in the history