summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author lijilou <lijilou@xiaomi.corp-partner.google.com> 2024-12-16 16:28:33 +0800
committer Jilou li <lijilou@xiaomi.corp-partner.google.com> 2024-12-16 00:35:21 -0800
commit5cc865b9b93265fe21639c9e4db828901d3a49f9 (patch)
tree5dad59730fd6fc8a3357a79acd9c51219be43869 /api/api.go
parent2daef7f6cf3ab06149a0fd6aa63b06554c9c4e60 (diff)
PackageWatchdog: fix the double close issue.
1 without the IOException happen,the finishWrite method will close the stream. 2 with the IOException happen,the failWrite method will close the stream. so,we no need to close the stream in finally method. Bug: none Flag: EXEMPT minor optimization Change-Id: If2e01149499d4848ccc56323b964637c8894b658
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions