mirror of
https://gitee.com/openharmony/developtools_hdc
synced 2024-11-23 07:02:43 +00:00
!1585 fix: req每次调用后需要清理
Merge pull request !1585 from liupeng298/master
This commit is contained in:
commit
4555b8dc82
@ -289,6 +289,7 @@ void HdcTransferBase::OnFileIO(uv_fs_t *req)
|
||||
++thisClass->refCount;
|
||||
if (req->fs_type == UV_FS_WRITE) {
|
||||
uv_fs_fsync(thisClass->loopTask, &context->fsSyncReq, context->fsOpenReq.result, nullptr);
|
||||
uv_fs_req_cleanup(&context->fsSyncReq);
|
||||
}
|
||||
WRITE_LOG(LOG_DEBUG, "channelId:%u result:%d, closeReqSubmitted:%d",
|
||||
thisClass->taskInfo->channelId, context->fsOpenReq.result, context->closeReqSubmitted);
|
||||
|
Loading…
Reference in New Issue
Block a user