mirror of
https://github.com/uNetworking/uWebSockets.js.git
synced 2026-04-20 17:00:25 -04:00
Introduce CallJS and corresponding PERFORM_LIKE_GARBAGE flag
This commit is contained in:
@@ -28,6 +28,7 @@ struct HttpRequestWrapper {
|
||||
for (auto p : *req) {
|
||||
Local<Value> argv[] = {String::NewFromUtf8(isolate, p.first.data(), NewStringType::kNormal, p.first.length()).ToLocalChecked(),
|
||||
String::NewFromUtf8(isolate, p.second.data(), NewStringType::kNormal, p.second.length()).ToLocalChecked()};
|
||||
/* This one is also called from JS so no need for CallJS */
|
||||
cb->Call(isolate->GetCurrentContext(), isolate->GetCurrentContext()->Global(), 2, argv).IsEmpty();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user