Skip to content

Commit 76d4703

Browse files
committed
fix ugly quit() message
1 parent 1d82d20 commit 76d4703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripting/engine_spidermonkey.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace mongo {
3939
}
4040

4141
boost::thread_specific_ptr<SMScope> currentScope( dontDeleteScope );
42-
boost::recursive_mutex smmutex;
42+
boost::recursive_mutex &smmutex = *( new boost::recursive_mutex );
4343
#define smlock recursive_boostlock ___lk( smmutex );
4444

4545
#define GETHOLDER(x,o) ((BSONHolder*)JS_GetPrivate( x , o ))

0 commit comments

Comments
 (0)