mirror of
https://gitee.com/openharmony/accessibility
synced 2024-11-27 09:01:34 +00:00
update
Signed-off-by: luocheng <luocheng52@huawei.com>
This commit is contained in:
parent
5f7aed6730
commit
528b1285a6
@ -332,7 +332,7 @@ void NAccessibilityExtension::OnAccessibilityEvent(const AccessibilityEventInfo&
|
||||
work,
|
||||
[](uv_work_t *work) {},
|
||||
[](uv_work_t *work, int status) {
|
||||
AccessibilityEventInfoCallbackInfo *data = static_cast<AccessibilityEventInfoCallbackInfo*>(work->data);+
|
||||
AccessibilityEventInfoCallbackInfo *data = static_cast<AccessibilityEventInfoCallbackInfo*>(work->data);
|
||||
napi_handle_scope scope = nullptr;
|
||||
NAPI_CALL(reinterpret_cast<napi_env>(data->engine_), napi_open_handle_scope(reinterpret_cast<napi_env>(data->engine_), &scope));
|
||||
auto closeScope = [reinterpret_cast<napi_env>(data->engine_)](napi_handle_scope scope) { napi_close_handle_scope(reinterpret_cast<napi_env>(data->engine_), scope); };
|
||||
|
Loading…
Reference in New Issue
Block a user