Merge branch 'master' of git@github.com:mongodb/mongo
This commit is contained in:
@@ -1174,7 +1174,7 @@ namespace mongo {
|
||||
spec->start = boost::posix_time::microsec_clock::local_time();
|
||||
spec->count = 0;
|
||||
JS_SetContextPrivate( _context, (void*)spec );
|
||||
#ifdef SM181
|
||||
#if defined(SM181) && !defined(XULRUNNER190)
|
||||
JS_SetOperationCallback( _context, _checkTimeout );
|
||||
#else
|
||||
JS_SetBranchCallback( _context, checkTimeout );
|
||||
@@ -1184,7 +1184,7 @@ namespace mongo {
|
||||
|
||||
void uninstallCheckTimeout( int timeoutMs ) {
|
||||
if ( timeoutMs > 0 ) {
|
||||
#ifdef SM181
|
||||
#if defined(SM181) && !defined(XULRUNNER190)
|
||||
JS_SetOperationCallback( _context , 0 );
|
||||
#else
|
||||
JS_SetBranchCallback( _context, 0 );
|
||||
|
||||
Reference in New Issue
Block a user