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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to