Skip to content

Commit 53a6ead

Browse files
authored
Merge pull request #198 from JdeRobot/kill-all-harmonic
Change disconnect order
2 parents a031dfc + 71ce88a commit 53a6ead

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

manager/manager/manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,6 @@ def on_terminate_universe(self, event):
744744
self.terminate_harmonic_processes()
745745

746746
def on_disconnect(self, event):
747-
self.terminate_harmonic_processes()
748747

749748
try:
750749
self.consumer.stop()
@@ -777,6 +776,8 @@ def on_disconnect(self, event):
777776
self.world_launcher.terminate()
778777
except Exception as e:
779778
LogManager.logger.exception("Exception terminating world launcher")
779+
780+
self.terminate_harmonic_processes()
780781

781782
# Reiniciar el script
782783
python = sys.executable

0 commit comments

Comments
 (0)