mirror of
https://gitee.com/openharmony/commonlibrary_ets_utils
synced 2024-11-23 07:20:14 +00:00
Signed-off-by: caolili123 <caolili14@huawei.com>
This commit is contained in:
parent
bbe9d7f49c
commit
593755f728
@ -101,10 +101,6 @@ napi_value CreateTaskObject(napi_env env, TaskType taskType = TaskType::TASK,
|
||||
delete obj;
|
||||
}
|
||||
}, nullptr, nullptr) != napi_ok) {
|
||||
if (args != nullptr) {
|
||||
delete[] args;
|
||||
args = nullptr;
|
||||
}
|
||||
delete task;
|
||||
task = nullptr;
|
||||
return nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user