HebiRobotics/hebi-cpp-examples

Extraneous `clearFeedbackHandlers()` in 02a

Opened this issue · 1 comments

group->clearFeedbackHandlers();

This is an example which erroneously infers to the user that they must clear feedback handlers, even when none were set.

Even further, feedback handlers are automatically destructed when the group is destructed, so we need to remove this extraneous call.

This is extraneous, and we should remove, but it doesn't actually hurt anything to have the extra call. It just means a list is cleared. There is no double free or anything that occurs.