mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
cal back fix
This commit is contained in:
parent
14482d8cc1
commit
272755d255
@ -176,6 +176,8 @@ namespace mongo {
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
ScriptEngine::runConnectCallback( *conn );
|
||||
|
||||
assert( JS_SetPrivate( cx , obj , (void*)( new shared_ptr< DBClientWithCommands >( conn ) ) ) );
|
||||
jsval host_val = c.toval( host.c_str() );
|
||||
assert( JS_SetProperty( cx , obj , "host" , &host_val ) );
|
||||
|
Loading…
Reference in New Issue
Block a user