v8 fix gc callback

This commit is contained in:
Aaron
2011-01-10 22:07:04 -08:00
parent 640852ef60
commit 8f6aa41ebd
2 changed files with 2 additions and 2 deletions

View File

@@ -458,7 +458,7 @@ namespace mongo {
void V8Scope::gc() {
cout << "in gc" << endl;
V8Lock l;
while( V8::IdleNotification() );
while( !V8::IdleNotification() );
}
// ----- db access -----