mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-27 02:50:40 +00:00
打印告警修改 Signed-off-by:baozewei@huawei.com
Signed-off-by: baozewei <baozewei@huawei.com>
This commit is contained in:
parent
b10ee8e3d4
commit
b27de7e46d
@ -119,7 +119,7 @@ uint32_t PrintTask::Start(napi_env env, napi_callback_info info)
|
||||
uint32_t ret = CallSpooler(env, info, adapterParam, false);
|
||||
if (ret != E_PRINT_NONE) {
|
||||
PRINT_HILOGE("CallSpooler failed.");
|
||||
for (auto fd : fdlist_) {
|
||||
for (auto fd : fdList_) {
|
||||
close(fd);
|
||||
}
|
||||
fdList_.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user