Typically we only close pins (or other objects) if we have allocated them. So the I2C bus is not supposed to close the pin itself.
floitsch
02/22/2024, 6:14 PM
We might not be fully consistent with that though, but closing should be idempotent and thus closing again should be fine. (Again, I think we are not 100% consistent there yet, but are working towards it)