From 8159ab792b481c66a1931c9dd1fd6ee74d10f85a Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Wed, 29 Mar 2017 17:03:13 +0200 Subject: [PATCH] Closedown --- script/RobotTCP.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/RobotTCP.py b/script/RobotTCP.py index aa44411..5bb6276 100644 --- a/script/RobotTCP.py +++ b/script/RobotTCP.py @@ -409,7 +409,8 @@ class RobotTCP(TcpDevice, Stoppable): self.current_task = program def stop_task(self): - tasks = [t for t in self.high_level_tasks] + #tasks = [t for t in self.high_level_tasks] + tasks = [] if (self.current_task is not None) and (not self.current_task in tasks): tasks.append(self.current_task) for task in tasks: