Fix EditBox crash on macOS platform because of invalid v8::HandleScope. (#18407)

This commit is contained in:
James Chen
2025-03-04 18:28:01 +08:00
committed by GitHub
parent deacae967a
commit a437ada01c
+2 -2
View File
@@ -170,9 +170,9 @@ void getTextInputCallback() {
}
void callJSFunc(const ccstd::string &type, const ccstd::string &text) {
getTextInputCallback();
se::AutoHandleScope scope;
getTextInputCallback();
se::ValueArray args;
args.push_back(se::Value(type));
args.push_back(se::Value(text));