Re: [GRASS GIS] #3009: "Quit GRASS GIS" button only exits GUI

"GRASS GIS" <[email protected]>
Newsgroups gmane.comp.gis.grass.devel
Message-ID <[email protected]>
#3009: "Quit GRASS GIS" button only exits GUI
--------------------------+-------------------------------------
  Reporter:  cmbarton     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.6.2
 Component:  wxGUI        |    Version:  unspecified
Resolution:               |   Keywords:  "quit grass gis button"
       CPU:  Unspecified  |   Platform:  MacOSX
--------------------------+-------------------------------------

Comment (by annakrat):

 Replying to [comment:8 nila]:
 > I believe I have found the cause of this issue.
 >
 > In gui/wxpython/lmgr/frame.py:2533-2536 `GMFrame.OnCloseWindowOrExit()`:
 > {{{
 >         if ret != wx.ID_CANCEL:
 >             self._closeWindow(event)
 >             if ret == wx.ID_YES:
 >                 self._quitGRASS()
 > }}}
 >
 > in `self._closeWindow` self (the GMFrame) will be destroyed and
 `self._quitGRASS` will never be reached.


 Are you sure this is not the case? It seems like that would be a problem.
 Not sure what the solution would be, perhaps moving the os.kill to the
 GMApp OnExit handler.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3009#comment:10>
GRASS GIS <https://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.