cleanup(userspace/falco): reset s_timerid_exists at stats_writer teardown

Co-authored-by: Andrea Terzolo <andreaterzolo3@gmail.com>
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com>
This commit is contained in:
Melissa Kilby 2023-10-05 14:51:36 +00:00 committed by poiana
parent d28f43cd98
commit 32b7ccd8dc

View File

@ -156,6 +156,7 @@ stats_writer::~stats_writer()
if (s_timerid_exists) if (s_timerid_exists)
{ {
timer_delete(s_timerid); timer_delete(s_timerid);
s_timerid_exists = false;
} }
#endif #endif
} }