mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
低级稳定性问题处理
Signed-off-by: b30058220 <baodi1@huawei.com> Change-Id: I7cccea37ad17a06edcaa688d5f16ce46623bed55
This commit is contained in:
parent
e7cb4413a3
commit
fa0dbb98cb
@ -1547,6 +1547,8 @@ static napi_value JSExecuteDrag(napi_env env, napi_callback_info info)
|
||||
if (!CheckAndParseParams(dragAsyncContext, errMsg)) {
|
||||
NapiThrow(env, errMsg, ERROR_CODE_PARAM_INVALID);
|
||||
napi_close_escapable_handle_scope(env, scope);
|
||||
delete dragAsyncContext;
|
||||
dragAsyncContext = nullptr;
|
||||
return nullptr;
|
||||
}
|
||||
napi_value result = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user