Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-04-29 14:06:30 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2013-04-29 14:06:36 +0400
commit626d7abdb43b672a6153510561afdd8856b7770f (patch)
treedf146080b5433ebc6172981dc959b9bb88930ec3 /doc
parent7bd8a5a2a60b75266f89f9a32877d55294a3881c (diff)
doc: cluster: s/server.destroy/server.close/
Fixes #5379.
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cluster.markdown2
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();
}
});
}