elixir-circuits / circuits_i2c

Communicate over I2C from Elixir
Apache License 2.0
62 stars 12 forks source link

Fix intermittent CI issue due to too many open handles #112

Closed fhunleth closed 1 year ago

fhunleth commented 1 year ago

It turns out that waiting for GC to collect open handles wasn't always quick enough. This closes a handle when discovering devices and prevents too many from being opened simultaneously. This does not seem like an issue that people would run into with normal use.