pigpio
pigpio copied to clipboard
pigpiod_if2: callbacks not freed by pigpio_stop()
Hi,
According to doc, pigpio_stop
releases resources used by the library.
But as far as I can tell, the evtCallback_t structures are not freed.
If I am correct, this is of course a waste of memory. But also this would lead to unexpected calls if the PI ID is re-used.
Thanks