From 3f70a847f84651dd729acadbccbc78d9e9d674a0 Mon Sep 17 00:00:00 2001 From: Melissa Kilby Date: Thu, 5 Oct 2023 14:51:36 +0000 Subject: [PATCH] cleanup(userspace/falco): reset s_timerid_exists at stats_writer teardown Co-authored-by: Andrea Terzolo Signed-off-by: Melissa Kilby --- userspace/falco/stats_writer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/userspace/falco/stats_writer.cpp b/userspace/falco/stats_writer.cpp index 429eb89286b..6b84d89e1d7 100644 --- a/userspace/falco/stats_writer.cpp +++ b/userspace/falco/stats_writer.cpp @@ -156,6 +156,7 @@ stats_writer::~stats_writer() if (s_timerid_exists) { timer_delete(s_timerid); + s_timerid_exists = false; } #endif }