[GRASS-SVN] r67423 - grass/branches/releasebranch_7_0/lib/python/pygrass/modules/grid

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 29 11:52:49 PST 2015


Author: annakrat
Date: 2015-12-29 11:52:49 -0800 (Tue, 29 Dec 2015)
New Revision: 67423

Modified:
   grass/branches/releasebranch_7_0/lib/python/pygrass/modules/grid/grid.py
Log:
GridModule: fix leaving processes behind (merge from trunk, r67303)

Modified: grass/branches/releasebranch_7_0/lib/python/pygrass/modules/grid/grid.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/pygrass/modules/grid/grid.py	2015-12-29 18:57:04 UTC (rev 67422)
+++ grass/branches/releasebranch_7_0/lib/python/pygrass/modules/grid/grid.py	2015-12-29 19:52:49 UTC (rev 67423)
@@ -541,6 +541,8 @@
             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"))
 



More information about the grass-commit mailing list