initialize metrics object

master
Andre Puschmann 7 years ago
parent dbdf85072c
commit 40a3290e36

@ -53,7 +53,7 @@ public:
private:
void run_period() {
if (m) {
metrics_t metric;
metrics_t metric = {};
m->get_metrics(metric);
for (uint32_t i=0;i<listeners.size();i++) {
listeners[i]->set_metrics(metric);

Loading…
Cancel
Save