aboutsummaryrefslogtreecommitdiff
path: root/test/common.js
diff options
context:
space:
mode:
authorJorge Chamorro Bieling <jorge@jorgechamorro.com>2011-03-23 12:29:49 +0100
committerRyan Dahl <ry@tinyclouds.org>2011-03-28 15:28:55 -0700
commite7604b1ea71a761c43bb2a757ae5015e00303349 (patch)
tree420f6b7d86d6b26760a0c36e4e9f8f7551a2e61b /test/common.js
parent2a65d2962578db2cc841c6679a1762a17ac8dfb2 (diff)
downloadandroid-node-v8-e7604b1ea71a761c43bb2a757ae5015e00303349.tar.gz
android-node-v8-e7604b1ea71a761c43bb2a757ae5015e00303349.tar.bz2
android-node-v8-e7604b1ea71a761c43bb2a757ae5015e00303349.zip
Retain buffers in fs.read/write()
Closes GH-814. Closes GH-827.
Diffstat (limited to 'test/common.js')
-rw-r--r--test/common.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/common.js b/test/common.js
index bf0a43f9e7..04cd6fec94 100644
--- a/test/common.js
+++ b/test/common.js
@@ -60,6 +60,10 @@ process.on('exit', function() {
process,
global];
+ if (global.gc) {
+ knownGlobals.push(gc);
+ }
+
if (global.DTRACE_HTTP_SERVER_RESPONSE) {
knownGlobals.push(DTRACE_HTTP_SERVER_RESPONSE);
knownGlobals.push(DTRACE_HTTP_SERVER_REQUEST);