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 }