diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-04-29 14:06:30 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-04-29 14:06:36 +0400 |
commit | 626d7abdb43b672a6153510561afdd8856b7770f (patch) | |
tree | df146080b5433ebc6172981dc959b9bb88930ec3 /doc | |
parent | 7bd8a5a2a60b75266f89f9a32877d55294a3881c (diff) |
doc: cluster: s/server.destroy/server.close/
Fixes #5379.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/cluster.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/cluster.markdown b/doc/api/cluster.markdown index b192c764b5f..809efa5ed9b 100644 --- a/doc/api/cluster.markdown +++ b/doc/api/cluster.markdown @@ -414,7 +414,7 @@ that would normally not allow the worker to do any cleanup if needed. process.on('message', function(msg) { if (msg === 'force kill') { - server.destroy(); + server.close(); } }); } |