mirror of
https://gitee.com/openharmony/applications_settings
synced 2024-11-27 00:20:59 +00:00
[自提单][settings]送检前加固保障2-告警清零
Signed-off-by: 杨云鹏 <yangyunpeng7@huawei.com>
This commit is contained in:
parent
c017e13f6b
commit
f7618f6ab3
@ -313,10 +313,8 @@ napi_value napi_get_uri(napi_env env, napi_callback_info info)
|
||||
SETTING_LOG_INFO("uri c_b start asy work");
|
||||
if (napi_queue_async_work(env, asyncCallbackInfo->asyncWork) != napi_ok) {
|
||||
SETTING_LOG_ERROR("napi_queue_async_work error");
|
||||
if (asyncCallbackInfo != nullptr) {
|
||||
delete asyncCallbackInfo;
|
||||
asyncCallbackInfo = nullptr;
|
||||
}
|
||||
delete asyncCallbackInfo;
|
||||
asyncCallbackInfo = nullptr;
|
||||
}
|
||||
SETTING_LOG_INFO("uri c_b end asy work");
|
||||
return wrap_void_to_js(env);
|
||||
|
Loading…
Reference in New Issue
Block a user