Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cal back fix

  • Loading branch information...
commit 272755d255e29b9951bb20c9c947736b1a0bc6ef 1 parent 14482d8
@erh erh authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  scripting/sm_db.cpp
View
2  scripting/sm_db.cpp
@@ -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 ) );
Please sign in to comment.
Something went wrong with that request. Please try again.