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:
parent
7d57124a2a
commit
da884c49e2
@ -1192,6 +1192,9 @@ int dm_main() {
|
|||||||
parallel.wait();
|
parallel.wait();
|
||||||
gDefinitelyThreadSafeWork.wait();
|
gDefinitelyThreadSafeWork.wait();
|
||||||
|
|
||||||
|
// We'd better have run everything.
|
||||||
|
SkASSERT(gPending == 0);
|
||||||
|
|
||||||
// At this point we're back in single-threaded land.
|
// At this point we're back in single-threaded land.
|
||||||
sk_tool_utils::release_portable_typefaces();
|
sk_tool_utils::release_portable_typefaces();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user