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(); |