Node.js: added correct exit processing.
Node.js processes didn't exit after the changes in b9f7635e6be2, as the quit command from port wasn't handled by the module.
This commit is contained in:
@@ -40,6 +40,7 @@ private:
|
||||
static void request_handler(nxt_unit_request_info_t *req);
|
||||
static int add_port(nxt_unit_ctx_t *ctx, nxt_unit_port_t *port);
|
||||
static void remove_port(nxt_unit_ctx_t *ctx, nxt_unit_port_id_t *port_id);
|
||||
static void quit(nxt_unit_ctx_t *ctx);
|
||||
|
||||
napi_value get_server_object();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user