You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by GitBox <gi...@apache.org> on 2020/10/15 13:37:16 UTC

[GitHub] [qpid-dispatch] jiridanek commented on a change in pull request #880: WIP: unittest for starting router and adding autoLink

jiridanek commented on a change in pull request #880:
URL: https://github.com/apache/qpid-dispatch/pull/880#discussion_r505547973



##########
File path: src/alloc_pool.c
##########
@@ -566,6 +566,7 @@ void qd_alloc_finalize(void)
         free_stack_chunks(&desc->global_pool->free_list);
         free(desc->global_pool);
         desc->global_pool = 0;
+        desc->header = 0;  // reset header, so we can initialize again later in qd_alloc (in subsequent test)

Review comment:
       This is actually something I think is missing in the dispatch code. Without it, it is not possible to stop the router and start it again, in the same process.




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org