Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion manager/manager/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ def on_launch_world(self, event):
Note:
The method logs the start of the launch transition and the configuration details for debugging and traceability.
"""

cfg_dict = event.kwargs.get("data", {})
world_cfg = cfg_dict['world']
robot_cfg = cfg_dict['robot']
Expand Down Expand Up @@ -722,15 +721,18 @@ def on_terminate_application(self, event):
except Exception:
LogManager.logger.exception("No application running")
print(traceback.format_exc())
self.terminate_harmonic_processes()

def on_terminate_visualization(self, event):

self.visualization_launcher.terminate()
if self.gui_server != None:
self.gui_server.stop()
self.gui_server = None
self.terminate_harmonic_processes()

def on_terminate_universe(self, event):

if self.world_launcher != None:
self.world_launcher.terminate()
if self.robot_launcher != None:
Expand Down