evoggy / crazyflie-pc-client

Other
0 stars 1 forks source link

Port callbacks not unregistered on disconnect #19

Open evoggy opened 10 years ago

evoggy commented 10 years ago

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.


evoggy commented 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