Browse Source

g.gui.tplot: tgis.stop_subprocesses() has to be called otherwise return an error if the tool is launched by command line

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@69247 15284696-431f-4ddb-bdfa-cd5b030d7da7
Luca Delucchi 9 năm trước cách đây
mục cha
commit
d0f2f04c2a
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      gui/wxpython/tplot/frame.py

+ 3 - 0
gui/wxpython/tplot/frame.py

@@ -133,6 +133,9 @@ class TplotFrame(wx.Frame):
         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):