pigpio icon indicating copy to clipboard operation
pigpio copied to clipboard

pigpiod_if2: callbacks not freed by pigpio_stop()

Open m-dhooge opened this issue 2 years ago • 0 comments

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

m-dhooge avatar Jun 02 '22 14:06 m-dhooge