0

Merge PR #1845 from Esvandiary

GenPOI: adds explicit pool close/join in handleEntities to fix possible hang (issue #1817)
This commit is contained in:
Nicolas F
2021-06-04 13:59:41 +02:00
committed by GitHub

View File

@@ -217,6 +217,8 @@ def handleEntities(rset, config, config_path, filters, markers):
results = pool.map(parseBucketChunks, ((buck, rset, filters) for buck in buckets))
pool.close()
pool.join()
logging.info("All the threads completed.")
for marker_dict in results: