eclipse / mraa

Linux Library for low speed IO Communication in C with bindings for C++, Python, Node.js & Java. Supports generic io platforms, as well as Intel Edison, Intel Joule, Raspberry Pi and many more.
http://mraa.io
MIT License
1.38k stars 615 forks source link

potential resource leak in intel_edison_fab_c #1006

Open xlla opened 4 years ago

xlla commented 4 years ago

there is a static variable mraa_gpio_context tristate, it is initialized when board create, but never got close even after call mraa_deinit.

is there any hook function can notice custom board to release their resource?