Open evoggy opened 10 years ago
The number of callbacks registered doesn't grow when disconnecting/connecting over and over. The only issue seems to be the TOC callback not being unregistered at disconnect so this callback will get non-TOC packets at the next connect if logging has been set-up on the Crazyflie. This case is handled but it should still be fixed or at least the warning log should be removed.
Original Comment By: Marcus Eliasson
When disconnecting and reconnecting multiple times it has been observed that some port callbacks that are registered on connect are not unregistered on disconnect. This should be fixed.