summaryrefslogtreecommitdiff
path: root/benchmark/process_loop.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2009-09-28 16:50:19 +0200
committerRyan Dahl <ry@tinyclouds.org>2009-09-28 18:48:18 +0200
commit23c7f472d066087d8053e31e3797a91053a79d9a (patch)
treebed49cae3b2d4efa366fc0e035cd982eca3ce9da /benchmark/process_loop.js
parentc27d9f986a01b86d30b11fd20a3dbd43251ec13a (diff)
downloadnodejs-23c7f472d066087d8053e31e3797a91053a79d9a.tar.gz
nodejs-23c7f472d066087d8053e31e3797a91053a79d9a.tar.bz2
nodejs-23c7f472d066087d8053e31e3797a91053a79d9a.zip
API: Move node.exit() to process.exit().
Diffstat (limited to 'benchmark/process_loop.js')
-rw-r--r--benchmark/process_loop.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/process_loop.js b/benchmark/process_loop.js
index ec971f095..2e1e35465 100644
--- a/benchmark/process_loop.js
+++ b/benchmark/process_loop.js
@@ -11,7 +11,7 @@ function next (i) {
});
child.addListener("exit", function (code) {
- if (code != 0) node.exit(-1);
+ if (code != 0) process.exit(-1);
next(i - 1);
});
}