mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-12-02 14:57:04 +00:00
打印SDK接口调用异常修复 Signed-off-by:xiongqiao3@huawei.com
Signed-off-by: xiongqiao <xiongqiao3@huawei.com>
This commit is contained in:
parent
168f1a0e46
commit
b7989fa5e6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user