LJMUAstroecology / flirpy

Python library to interact with FLIR camera cores
Other
191 stars 54 forks source link

Cameras aren't release automatically #3

Closed jveitchmichaelis closed 4 years ago

jveitchmichaelis commented 4 years ago

Repeatedly instantiating the same camera causes V4L2 to panic because the device isn't released. This can cause test fixtures to fail.

TODO: add a release method to camera.core.close() which can be implemented in each subclass (e.g. Boson).

jveitchmichaelis commented 4 years ago

fixed in https://github.com/LJMUAstroecology/flirpy/commit/1bb1f79098be24de0fbe0743c49876d0481308dd