File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -728,7 +728,6 @@ def on_terminate_application(self, event):
728728 except Exception :
729729 LogManager .logger .exception ("No application running" )
730730 print (traceback .format_exc ())
731- self .terminate_harmonic_processes ()
732731
733732 def on_terminate_visualization (self , event ):
734733
@@ -805,7 +804,8 @@ def on_pause(self, msg):
805804 LogManager .logger .exception ("Error suspending process" )
806805 else :
807806 LogManager .logger .warning ("Application process was None during pause. Calling termination." )
808- self .on_terminate_application (msg )
807+ self .pause_sim ()
808+ self .reset_sim ()
809809
810810 def on_resume (self , msg ):
811811 if self .application_process is not None :
@@ -817,7 +817,7 @@ def on_resume(self, msg):
817817 LogManager .logger .exception ("Error suspending process" )
818818 else :
819819 LogManager .logger .warning ("Application process was None during resume. Calling termination." )
820- self .on_terminate_application ( msg )
820+ self .reset_sim ()
821821
822822 def pause_sim (self ):
823823 if self .visualization_type in ["gzsim_rae" , "bt_studio_gz" ]:
You can’t perform that action at this time.
0 commit comments