打印SDK接口调用异常修复 Signed-off-by:xiongqiao3@huawei.com

Signed-off-by: xiongqiao <xiongqiao3@huawei.com>
This commit is contained in:
xiongqiao 2023-12-11 21:00:39 +08:00
parent 168f1a0e46
commit b7989fa5e6

View File

@ -163,7 +163,6 @@ napi_value NapiPrintTask::ParsePrintAdapterParameter(napi_env env, size_t argc,
if (task == nullptr) {
PRINT_HILOGE("print task fail");
delete callback;
return nullptr;
}
auto finalize = [](napi_env env, void *data, void *hint) {