Update VideoStreamer.js with new res.tryEnd
This commit is contained in:
parent
0d34a9a6d2
commit
90e4d930f3
3 changed files with 56 additions and 13 deletions
|
@ -160,7 +160,12 @@ struct HttpResponseWrapper {
|
|||
invalidateResObject(args);
|
||||
}
|
||||
|
||||
args.GetReturnValue().Set(Boolean::New(isolate, ok));
|
||||
/* This is a quick fix, it will need updating in µWS later on */
|
||||
Local<Array> array = Array::New(isolate, 2);
|
||||
array->Set(0, Boolean::New(isolate, ok));
|
||||
array->Set(1, Boolean::New(isolate, res->hasResponded()));
|
||||
|
||||
args.GetReturnValue().Set(array);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue