diff options
-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 b192c764b..809efa5ed 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(); } }); } |