Close ninja file descriptor am: 58a29728ea
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2428033 Change-Id: I47bb7ac1f2628b3aed73491d71ab0415edfe4654 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
33d423ce03
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ func RunBlueprint(args Args, stopBefore StopBefore, ctx *blueprint.Context, conf
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fatalf("error opening Ninja file: %s", err)
|
fatalf("error opening Ninja file: %s", err)
|
||||||
}
|
}
|
||||||
|
defer f.Close()
|
||||||
buf = bufio.NewWriterSize(f, 16*1024*1024)
|
buf = bufio.NewWriterSize(f, 16*1024*1024)
|
||||||
out = buf
|
out = buf
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue