Skip to content

Commit

Permalink
fix(GetAllDomainStats): add missing HandleScope
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Oct 11, 2016
1 parent 1a30dea commit cd11ea8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/domain.cc
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@ NAN_METHOD(Domain::GetAllDomainStats)
}

return onFinished([=] (Worker* worker) {
Nan::HandleScope scope;
v8::Local<v8::Object> result = Nan::New<v8::Object>();
// @TODO: this is essentially the body of the NLVTypedParameterReturnWorker's ok callback code
virDomainStatsRecordPtr *next;
Expand Down

0 comments on commit cd11ea8

Please sign in to comment.