diff --git a/catkit2/services/allied_vision_camera/allied_vision_camera.py b/catkit2/services/allied_vision_camera/allied_vision_camera.py index deb1dc282..d2856adcb 100644 --- a/catkit2/services/allied_vision_camera/allied_vision_camera.py +++ b/catkit2/services/allied_vision_camera/allied_vision_camera.py @@ -269,6 +269,7 @@ def close(self): This function is called when the service is closed. It stops the acquisition loop and cleans up the camera and data streams. ''' + self.temperature_thread.join() self.cam = None def acquisition_loop(self):