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

shutdown node in-flight #21283

Merged
merged 1 commit into from
Mar 16, 2019
Merged

Commits on Mar 16, 2019

  1. src: shutdown node in-flight

    This commit introduces a `node::Stop()` API.
    
    An identified use case for embedders is their ability to tear down
    Node while it is still running (event loop contain pending events)
    
    Here the assumptions are that (i) embedders do not wish to resort to
    JS routines to initiate shutdown (ii) embedders have the Environment
    handle handy. (iii) embedders stop Node through a second thread.
    
    Fixes: nodejs#19365
    Refs: nodejs/user-feedback#51
    
    PR-URL: nodejs#21283
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    gireeshpunathil committed Mar 16, 2019
    Configuration menu
    Copy the full SHA
    d35af56 View commit details
    Browse the repository at this point in the history