File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -244,9 +244,6 @@ def on_launch_world(self, event):
244244 Note:
245245 The method logs the start of the launch transition and the configuration details for debugging and traceability.
246246 """
247- # clean harmonic cache
248- self .terminate_harmonic_processes ()
249-
250247 cfg_dict = event .kwargs .get ("data" , {})
251248 world_cfg = cfg_dict ['world' ]
252249 robot_cfg = cfg_dict ['robot' ]
@@ -724,13 +721,15 @@ def on_terminate_application(self, event):
724721 except Exception :
725722 LogManager .logger .exception ("No application running" )
726723 print (traceback .format_exc ())
724+ self .terminate_harmonic_processes ()
727725
728726 def on_terminate_visualization (self , event ):
729727
730728 self .visualization_launcher .terminate ()
731729 if self .gui_server != None :
732730 self .gui_server .stop ()
733731 self .gui_server = None
732+ self .terminate_harmonic_processes ()
734733
735734 def on_terminate_universe (self , event ):
736735
You can’t perform that action at this time.
0 commit comments