That actually works
This commit is contained in:
parent
a2da9d8dd8
commit
c0c77b24f8
@ -249,8 +249,8 @@ void uWS_App_get(F f, const FunctionCallbackInfo<Value> &args) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Handler */
|
/* Handler */
|
||||||
Callback checkedCallback(args[1]);
|
Callback checkedCallback(args.GetIsolate(), args[1]);
|
||||||
if (checkedCallback.isInvalid()) {
|
if (checkedCallback.isInvalid(args)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
UniquePersistent<Function> cb = checkedCallback.getFunction();
|
UniquePersistent<Function> cb = checkedCallback.getFunction();
|
||||||
|
Loading…
Reference in New Issue
Block a user