From 5999bce89cdad39a6eb678b7e4b4063aef211c1d Mon Sep 17 00:00:00 2001 From: Kartik Patel <kartikpatel1995@gmail.com> Date: Fri, 21 Jul 2017 01:45:23 +0530 Subject: grc: Terminate instead of kill with Terminate button --- grc/gui/ActionHandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grc/gui/ActionHandler.py') diff --git a/grc/gui/ActionHandler.py b/grc/gui/ActionHandler.py index 5d48485238..017dab3346 100644 --- a/grc/gui/ActionHandler.py +++ b/grc/gui/ActionHandler.py @@ -626,9 +626,9 @@ class ActionHandler: elif action == Actions.FLOW_GRAPH_KILL: if page.get_proc(): try: - page.get_proc().kill() + page.term_proc() except: - print "could not kill process: %d" % page.get_proc().pid + print "could not terminate process: %d" % page.get_proc().pid elif action == Actions.PAGE_CHANGE: # pass and run the global actions pass elif action == Actions.RELOAD_BLOCKS: -- cgit v1.2.3