kgiusti commented on a change in pull request #1142:
URL: https://github.com/apache/qpid-dispatch/pull/1142#discussion_r621254289



##########
File path: src/server.c
##########
@@ -1372,6 +1391,7 @@ void qd_server_free(qd_server_t *qd_server)
     if (!qd_server) return;
 
     qd_http_server_free(qd_server->http);
+    qd_timer_visit(true);

Review comment:
       I don't think this is the correct approach because this will mask 
leaking timers.
   
   If there are any timers still around when the router is being shutdown that 
means the owner of those timers never got around to properly cleaning them up.  
 That's a bug which will be hidden with the above patch.




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



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

Reply via email to