commit | 2e1381ec86bc794968fca51572dd7bd37d6508c7 | [log] [tgz] |
---|---|---|
author | Chris Dalton <csmartdalton@google.com> | Wed Oct 23 14:35:19 2019 -0600 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Oct 24 16:09:02 2019 +0000 |
tree | e99729fb6cc65b5a3a35c7074254e2f80fd9d712 | |
parent | 37bc8f96522b9e25fb0a12e76ac93e00b38b1b54 [diff] |
Don't keep "outResultsFile" open in nanobench There is a bug on Pixel and Pixel2 devices where the program eventually terminates with a non-zero exit code. Closing the outResultsFile between JSON flushes seems to fix it (for whatever reason). Bug: b/143074513 Change-Id: I935e982e88758fda19292129c8031f8501cca615 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/249821 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>