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

Unified Diff: dm/DM.cpp

Issue 1744723002: DM: dm.json can be missing some final results (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 59c7def4d67d0dbee83fd9d3db10686f5a490a6b..df93bfcf1c6e4fea22b02af13b13ed238e18669b 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -1225,6 +1225,8 @@ int dm_main() {
// We'd better have run everything.
SkASSERT(gPending == 0);
+ // Make sure we've flushed all our results to disk.
+ JsonWriter::DumpJson();
// At this point we're back in single-threaded land.
sk_tool_utils::release_portable_typefaces();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698