Index: dm/DM.cpp |
diff --git a/dm/DM.cpp b/dm/DM.cpp |
index 236fce870808b2b220c3378c2711d84e8a35d13f..ba5ecd07033df3ef95c4c4eea86ad644e195be84 100644 |
--- a/dm/DM.cpp |
+++ b/dm/DM.cpp |
@@ -1184,6 +1184,9 @@ int dm_main() { |
parallel.wait(); |
gDefinitelyThreadSafeWork.wait(); |
+ // We'd better have run everything. |
+ SkASSERT(gPending == 0); |
+ |
// At this point we're back in single-threaded land. |
sk_tool_utils::release_portable_typefaces(); |