DM: assert we ran as many tasks as we thought we would

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1731783003

Review URL: https://codereview.chromium.org/1731783003
This commit is contained in:
mtklein 2016-02-24 18:00:23 -08:00 committed by Commit bot
parent 7d57124a2a
commit da884c49e2

View File

@ -1192,6 +1192,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();