diff --git a/manager/libs/applications/compatibility/robotics_application_wrapper.py b/manager/libs/applications/compatibility/robotics_application_wrapper.py index 9b857f2..60e2d10 100644 --- a/manager/libs/applications/compatibility/robotics_application_wrapper.py +++ b/manager/libs/applications/compatibility/robotics_application_wrapper.py @@ -35,9 +35,9 @@ def _create_process(self, cmd): return psProcess def terminate(self): - self.close_console() self.running = False - stop_process_and_children(self.user_process) + if self.user_process != None: + stop_process_and_children(self.user_process) self.user_process = None def load_code(self, code: str):