Worker: explicitly close opened file after uploading it to the server
This commit is contained in:
parent
c98b3afcc4
commit
fa1424e724
1 changed files with 1 additions and 0 deletions
|
|
@ -209,6 +209,7 @@ func (impl *OSBuildJobImpl) Run(job worker.Job) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
f.Close()
|
||||
}
|
||||
|
||||
if len(args.Targets) == 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue