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,7 +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-
248247 cfg_dict = event .kwargs .get ("data" , {})
249248 world_cfg = cfg_dict ['world' ]
250249 robot_cfg = cfg_dict ['robot' ]
@@ -722,15 +721,18 @@ def on_terminate_application(self, event):
722721 except Exception :
723722 LogManager .logger .exception ("No application running" )
724723 print (traceback .format_exc ())
724+ self .terminate_harmonic_processes ()
725725
726726 def on_terminate_visualization (self , event ):
727727
728728 self .visualization_launcher .terminate ()
729729 if self .gui_server != None :
730730 self .gui_server .stop ()
731731 self .gui_server = None
732+ self .terminate_harmonic_processes ()
732733
733734 def on_terminate_universe (self , event ):
735+
734736 if self .world_launcher != None :
735737 self .world_launcher .terminate ()
736738 if self .robot_launcher != None :
You can’t perform that action at this time.
0 commit comments