From 45c43f9c8719efc300a0cb373f1dc57e0abe3ece Mon Sep 17 00:00:00 2001 From: Gijs Koning Date: Wed, 8 Jun 2022 12:32:22 +0200 Subject: [PATCH] Laikad: kill process correctly. Fixes CI (#24780) Kill process correctly --- selfdrive/locationd/laikad.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/selfdrive/locationd/laikad.py b/selfdrive/locationd/laikad.py index f0c52e7e03..a55302458e 100755 --- a/selfdrive/locationd/laikad.py +++ b/selfdrive/locationd/laikad.py @@ -130,6 +130,10 @@ class Laikad: self.orbit_p.join() self.orbit_p = None + def __del__(self): + if self.orbit_p is not None: + self.orbit_p.kill() + def create_measurement_msg(meas: GNSSMeasurement): c = log.GnssMeasurements.CorrectedMeasurement.new_message()