From 43774be4ce2b59569377aa9b79fc3531e7a743c2 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Thu, 25 Apr 2024 14:43:01 +0200 Subject: [PATCH] DPL: force flushing of the metrics at the end of processing --- Framework/Core/src/CommonServices.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Framework/Core/src/CommonServices.cxx b/Framework/Core/src/CommonServices.cxx index ddaaa81090769..7f0e710d96b2e 100644 --- a/Framework/Core/src/CommonServices.cxx +++ b/Framework/Core/src/CommonServices.cxx @@ -131,6 +131,7 @@ o2::framework::ServiceSpec CommonServices::monitoringSpec() } }, .exit = [](ServiceRegistryRef registry, void* service) { auto* monitoring = reinterpret_cast(service); + monitoring->flushBuffer(); delete monitoring; }, .kind = ServiceKind::Serial}; }