diff options
author | murgatroid99 <mlumish@google.com> | 2015-08-18 17:38:11 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2015-08-18 17:38:11 -0700 |
commit | cb951f6c57c35d26ff8b643c4a498be397be6750 (patch) | |
tree | 1d61144efc238882ba1d3e9717e7d7b7ec7f537e /src/node/ext/server.h | |
parent | 4f21d3549c8f652a152ae086a74dd8415ecca8fa (diff) |
Split server shutdown into tryShutdown and forceShutdown
Diffstat (limited to 'src/node/ext/server.h')
-rw-r--r-- | src/node/ext/server.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node/ext/server.h b/src/node/ext/server.h index faab7e3418..e7d5c3fb11 100644 --- a/src/node/ext/server.h +++ b/src/node/ext/server.h @@ -67,7 +67,8 @@ class Server : public ::node::ObjectWrap { static NAN_METHOD(RequestCall); static NAN_METHOD(AddHttp2Port); static NAN_METHOD(Start); - static NAN_METHOD(Shutdown); + static NAN_METHOD(TryShutdown); + static NAN_METHOD(ForceShutdown); static NanCallback *constructor; static v8::Persistent<v8::FunctionTemplate> fun_tpl; |