mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-29 03:11:02 +00:00
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:
parent
d28f43cd98
commit
32b7ccd8dc
@ -156,6 +156,7 @@ stats_writer::~stats_writer()
|
||||
if (s_timerid_exists)
|
||||
{
|
||||
timer_delete(s_timerid);
|
||||
s_timerid_exists = false;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user