diff --git a/src/domain.cc b/src/domain.cc index 8b03c45..4a906d3 100644 --- a/src/domain.cc +++ b/src/domain.cc @@ -898,6 +898,7 @@ NAN_METHOD(Domain::GetAllDomainStats) } return onFinished([=] (Worker* worker) { + Nan::HandleScope scope; v8::Local result = Nan::New(); // @TODO: this is essentially the body of the NLVTypedParameterReturnWorker's ok callback code virDomainStatsRecordPtr *next;