[GRASS-SVN] r69247 - grass/trunk/gui/wxpython/tplot

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 24 06:26:43 PDT 2016


Author: lucadelu
Date: 2016-08-24 06:26:43 -0700 (Wed, 24 Aug 2016)
New Revision: 69247

Modified:
   grass/trunk/gui/wxpython/tplot/frame.py
Log:
g.gui.tplot: tgis.stop_subprocesses() has to be called otherwise return an error if the tool is launched by command line

Modified: grass/trunk/gui/wxpython/tplot/frame.py
===================================================================
--- grass/trunk/gui/wxpython/tplot/frame.py	2016-08-24 02:13:54 UTC (rev 69246)
+++ grass/trunk/gui/wxpython/tplot/frame.py	2016-08-24 13:26:43 UTC (rev 69247)
@@ -133,6 +133,9 @@
         if self._giface.GetMapDisplay():
             self.coorval.OnClose()
             self.cats.OnClose()
+        if self.dbif.connected is True:
+            self.dbif.close()
+        tgis.stop_subprocesses()
         self.Destroy()
 
     def _layout(self):



More information about the grass-commit mailing list