Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: perf/go/skiaperf/main.go

Issue 659943006: Do not forget to call `defer glog.Flush()` in our applications (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: revert titletool changes Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « perf/go/perf_migratedb/main.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: perf/go/skiaperf/main.go
diff --git a/perf/go/skiaperf/main.go b/perf/go/skiaperf/main.go
index 475fda88a0c15bee6804701395da5f6abc1db7e1..0ca72ae89a89c36f151d5f4727de8890730d7641 100644
--- a/perf/go/skiaperf/main.go
+++ b/perf/go/skiaperf/main.go
@@ -1049,6 +1049,7 @@ func makeResourceHandler() func(http.ResponseWriter, *http.Request) {
func main() {
flag.Parse()
flags.Log()
+ defer glog.Flush()
Init()
db.Init(db.ProdDatabaseConfig(*local))
« no previous file with comments | « perf/go/perf_migratedb/main.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698