mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
Comment
This commit is contained in:
parent
8730dc9d02
commit
9b3af26cbe
@ -270,6 +270,8 @@ private:
|
||||
JSThread( JSThreadConfig &config ) : config_( config ) {}
|
||||
void operator()() {
|
||||
Locker l;
|
||||
// Context scope and handle scope held in thread specific storage,
|
||||
// so need to configure for each thread.
|
||||
Context::Scope context_scope( baseContext_ );
|
||||
HandleScope handle_scope;
|
||||
boost::scoped_array< Persistent< Value > > argv( new Persistent< Value >[ config_.args_.size() ] );
|
||||
|
Loading…
Reference in New Issue
Block a user