summaryrefslogtreecommitdiff
path: root/src/node.js
diff options
context:
space:
mode:
authorRyan <ry@tinyclouds.org>2009-06-08 19:10:23 +0200
committerRyan <ry@tinyclouds.org>2009-06-08 19:10:36 +0200
commit8b49cef10b9edb97cf53511b7838ca94a47f0a18 (patch)
treeb20e18162698c68093625be88caa65d7f46138c7 /src/node.js
parent696f02455792b368249bf9b013dde637b5ec31fd (diff)
downloadnodejs-8b49cef10b9edb97cf53511b7838ca94a47f0a18.tar.gz
nodejs-8b49cef10b9edb97cf53511b7838ca94a47f0a18.tar.bz2
nodejs-8b49cef10b9edb97cf53511b7838ca94a47f0a18.zip
Modify the tests to use onExit hook.
No need to rely on stdout output now. onExit callbacks should print stack trace from onExit failure
Diffstat (limited to 'src/node.js')
-rw-r--r--src/node.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node.js b/src/node.js
index d558f977b..bca29bdcd 100644
--- a/src/node.js
+++ b/src/node.js
@@ -100,8 +100,6 @@ node.Module.prototype.load = function (callback) {
+ "};\n"
;
var compiled_wrapper = node.compile(wrapper, self.filename);
-
- // execute the script of interest
compiled_wrapper.apply(self.target, [self.filename]);
self.onLoad = self.target.__onLoad;
self.onExit = self.target.__onExit;