Skip to content

Commit

Permalink
need to lock around sm gc() SERVER-817
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Mar 23, 2010
1 parent 8c484cd commit 6127632
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripting/engine_spidermonkey.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1391,6 +1391,7 @@ namespace mongo {
}

virtual void gc(){
smlock;
JS_GC( _context );
}

Expand Down

0 comments on commit 6127632

Please sign in to comment.