Commit 0cde78d1 authored by Zhiling Huang's avatar Zhiling Huang Committed by Commit Bot

Close and join pool after resolving tombstones.

Bug: 784527
Change-Id: I6f57b53db6f3f898238efa4617e5d8e0bbbfae36
Reviewed-on: https://chromium-review.googlesource.com/776014Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
Commit-Queue: Zhiling Huang <hzl@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517508}
parent ae0c1b6f
...@@ -131,6 +131,8 @@ def _ResolveTombstones(jobs, tombstones, tombstone_symbolizer): ...@@ -131,6 +131,8 @@ def _ResolveTombstones(jobs, tombstones, tombstone_symbolizer):
data = pool.map( data = pool.map(
_ResolveTombstone, _ResolveTombstone,
[[tombstone, tombstone_symbolizer] for tombstone in tombstones]) [[tombstone, tombstone_symbolizer] for tombstone in tombstones])
pool.close()
pool.join()
resolved_tombstones = [] resolved_tombstones = []
for tombstone in data: for tombstone in data:
resolved_tombstones.extend(tombstone) resolved_tombstones.extend(tombstone)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment