Skip to content

Commit

Permalink
Returned the adaptor-finalize to the original form (h/t Jiri Danek).
Browse files Browse the repository at this point in the history
  • Loading branch information
ted-ross committed Mar 7, 2022
1 parent c847b2f commit f680ec8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/router_core/router_core_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,8 @@ void qdr_adaptors_finalize(qdr_core_t *core)
//
qdrc_adaptor_t *adaptor = DEQ_TAIL(registered_adaptors);
while (adaptor) {
DEQ_REMOVE(registered_adaptors, adaptor);
adaptor->on_final(adaptor->context);
free(adaptor);
adaptor = DEQ_TAIL(registered_adaptors);
adaptor = DEQ_PREV(adaptor);
}

// release the default AMQP adaptor (it is not a module)
Expand Down

0 comments on commit f680ec8

Please sign in to comment.