ted-ross commented on a change in pull request #463: DISPATCH-1276 - Added a
cleanup function qdrc_address_endpoint_cleanu…
URL: https://github.com/apache/qpid-dispatch/pull/463#discussion_r265679385
##########
File path: src/router_core/modules/edge_addr_tracking/edge_addr_tracking.c
##########
@@ -329,10 +344,18 @@ static void on_link_event(void *context, qdrc_event_t
event, qdr_link_t *link)
{
if (link->edge_context) {
qdr_addr_endpoint_state_t *endpoint_state =
(qdr_addr_endpoint_state_t *)link->edge_context;
- endpoint_state->link = 0;
+ endpoint_state->ref_count++;
Review comment:
Shouldn't this decrement the ref_count?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]