From 5a8f0b713da8dd5448553ed7febcb8334e00be2e 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 a71a5979..0de4ed38 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 }