1
0
Fork 0

One more place to fix ForceDelete

This commit is contained in:
Willi Goesgens 2015-06-18 13:21:14 +02:00
parent 8282aa426e
commit 9e5566f649
1 changed files with 1 additions and 2 deletions

View File

@ -691,8 +691,7 @@ static void MapDeleteNamedShapedJson (v8::Local<v8::String> name,
void* marker = TRI_UnwrapClass<void*>(self, WRP_SHAPED_JSON_TYPE);
if (marker == nullptr) {
self->ForceDelete(name);
TRI_V8_RETURN_TRUE();
TRI_V8_RETURN(v8::Handle<v8::Boolean>());
}
// copy all attributes from the shaped json into the object