doc: cluster: s/server.destroy/server.close/

Fixes #5379.
This commit is contained in:
Ben Noordhuis 2013-04-29 12:06:30 +02:00
parent 7bd8a5a2a6
commit 626d7abdb4

View File

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