summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-03-23 14:59:02 -0400
committerEliot Horowitz <eliot@10gen.com>2010-03-23 14:59:02 -0400
commit612763233ba5a357d14d292951b83e2dd7b17816 (patch)
tree55d5bedff889983dbdb956f327113f23b39524c4 /scripting
parent8c484cdce81ac434ed1c92e83a88be9a5b5aaecc (diff)
downloadmongo-612763233ba5a357d14d292951b83e2dd7b17816.tar.gz
need to lock around sm gc() SERVER-817
Diffstat (limited to 'scripting')
-rw-r--r--scripting/engine_spidermonkey.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripting/engine_spidermonkey.cpp b/scripting/engine_spidermonkey.cpp
index 727599310ff..6609925026b 100644
--- a/scripting/engine_spidermonkey.cpp
+++ b/scripting/engine_spidermonkey.cpp
@@ -1391,6 +1391,7 @@ namespace mongo {
}
virtual void gc(){
+ smlock;
JS_GC( _context );
}