lib/openc3/interfaces/simulated_target_interface.rb in openc3-5.10.1 vs lib/openc3/interfaces/simulated_target_interface.rb in openc3-5.11.0

- old
+ new

@@ -52,10 +52,11 @@ @count_100hz = 0 # Save the current time + delta as the next expected tick time @next_tick_time = Time.now.sys + @sim_target.tick_period_seconds + super() @connected = true end # @return [Boolean] Whether the simulated target is connected (initialized) def connected? @@ -148,9 +149,10 @@ end # Disconnect from the simulator def disconnect @connected = false + super() end protected def first_pending_packet