Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content

fix(bec-dispatcher): fix reference to boundmethods to avoid duplicated subscriptions

wakonig_k requested to merge fix/dispatcher_bound_methods into main

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

Merge request reports

Loading