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



##########
File path: src/log.c
##########
@@ -520,6 +524,7 @@ void qd_log_finalize(void) {
         qd_log_entry_free_lh(DEQ_HEAD(entries));
     while (DEQ_HEAD(sink_list))
         log_sink_free_lh(DEQ_HEAD(sink_list));
+    default_log_source = NULL;  // stale value would end up misconfiguring 
router again in the same process

Review comment:
       Global variable that needs to be NULLed out on exit, otherwise starting 
again in the same process segfaults on logging.




----------------------------------------------------------------
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