Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions gui/wxpython/main_window/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -2417,7 +2417,13 @@ def _quitGRASS(self):
return
Debug.msg(1, "Exiting shell with pid={0}".format(shellPid))
import signal
import grass.temporal as tgis

# All these wxGUI Animation, Timeline, Temporal tool initialize tgis
# framework (messenger and C-interface subprocesses) which require to be
# properly stopped before quitting GRASS (sending SIGTERM signal), because
# it causes "freeze" wxGUI tool window and wxGUI processes are not terminated.
tgis.stop_subprocesses()
os.kill(shellPid, signal.SIGTERM)

def MsgNoLayerSelected(self):
Expand Down
Loading