mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
Fix EditBox crash on macOS platform because of invalid v8::HandleScope. (#18407)
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user