diff --git a/pi_mqtt_gpio/modules/gpiod.py b/pi_mqtt_gpio/modules/gpiod.py index 22459230cdd4b610b366f8631b8bbc3c7378ff30..73691b93d713aa216ef0b0d57ef076bf0497fb8e 100644 --- a/pi_mqtt_gpio/modules/gpiod.py +++ b/pi_mqtt_gpio/modules/gpiod.py @@ -88,8 +88,7 @@ class GPIO(GenericGPIO): return self.pins[offset].get_value() def cleanup(self): - self.loop.stop() - self.io.chip_deleter(self.chip) + pass async def _add_event_detect(self, pin, callback): while True: