src/server/daemon/event.c

changeset 556
b036ccad4b49
parent 555
66b0accda0a8
--- a/src/server/daemon/event.c	Sat Aug 24 18:34:13 2024 +0200
+++ b/src/server/daemon/event.c	Sat Aug 24 22:37:12 2024 +0200
@@ -79,6 +79,8 @@
 }
 
 void shutdown_eventhandlers_wait(void) {
+    log_ereport(LOG_INFORM, "shutdown eventhandlers");
+    
     CxIterator i = cxMapIteratorValues(event_handler_map);
     cx_foreach(EVHandler *, e, i) {
         evhandler_shutdown(e);
@@ -90,6 +92,8 @@
     }
     
     cxMapDestroy(event_handler_map);
+    
+    log_ereport(LOG_INFORM, "all eventhandlers closed");
 }
 
 void evhandler_shutdown(EVHandler *h) {

mercurial