File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,6 @@ def on_launch_world(self, event):
244
244
Note:
245
245
The method logs the start of the launch transition and the configuration details for debugging and traceability.
246
246
"""
247
-
248
247
cfg_dict = event .kwargs .get ("data" , {})
249
248
world_cfg = cfg_dict ['world' ]
250
249
robot_cfg = cfg_dict ['robot' ]
@@ -722,15 +721,18 @@ def on_terminate_application(self, event):
722
721
except Exception :
723
722
LogManager .logger .exception ("No application running" )
724
723
print (traceback .format_exc ())
724
+ self .terminate_harmonic_processes ()
725
725
726
726
def on_terminate_visualization (self , event ):
727
727
728
728
self .visualization_launcher .terminate ()
729
729
if self .gui_server != None :
730
730
self .gui_server .stop ()
731
731
self .gui_server = None
732
+ self .terminate_harmonic_processes ()
732
733
733
734
def on_terminate_universe (self , event ):
735
+
734
736
if self .world_launcher != None :
735
737
self .world_launcher .terminate ()
736
738
if self .robot_launcher != None :
You can’t perform that action at this time.
0 commit comments