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

process: add process.exitSoon() #6477

Closed
wants to merge 3 commits into from
Closed

Commits on Apr 29, 2016

  1. process: add optional timeout to process.exit()

    When set, an internal timer will be set that will exit the
    process at the given timeout. In the meantime, the registered
    listeners for process.on('exitingSoon') will be invoked and
    passed a callback to be called when the handler is ready for
    the process to exit. The process will exit either when the
    internal timer fires or all the callbacks are called, whichever
    comes first.
    
    This is an attempt to deal more intelligently with resource
    cleanup and async op completion on exit
    
    (see nodejs#6456).
    jasnell committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    ef45fd4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0bc25fa View commit details
    Browse the repository at this point in the history
  3. Fix doc nits

    jasnell committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    34863cd View commit details
    Browse the repository at this point in the history