git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67303 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -547,6 +547,8 @@ class GridModule(object):
pool = mltp.Pool(processes=self.processes)
result = pool.map_async(cmd_exe, self.get_works())
result.wait()
+ pool.close()
+ pool.join()
if not result.successful():
raise RuntimeError(_("Execution of subprocesses was not successful"))