fix(bec-dispatcher): fix reference to boundmethods to avoid duplicated subscriptions
Description
This MR fixes a bug in the dispatcher that would lead to multiple callbacks being registered on repeated calls to register even though the callback method was the same.
Related Issues
closes #479 (closed) #477 (closed)
Type of Change
- Refactored slot handling in bec dispatcher
- Made stored cb reference a weak reference to fix inconsistencies between static methods and bound methods.
Definition of Done
-
Documentation is up-to-date.
Edited by wakonig_k