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(); } }); }