From 53acb8f2db84df7efffd25f3694c55cd66844b70 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Fri, 22 Feb 2019 09:34:16 +0100 Subject: [PATCH] PerfdataWriter: Reset the rotation timer on Pause() --- lib/perfdata/perfdatawriter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/perfdata/perfdatawriter.cpp b/lib/perfdata/perfdatawriter.cpp index 7330f3c98..11d7b5f11 100644 --- a/lib/perfdata/perfdatawriter.cpp +++ b/lib/perfdata/perfdatawriter.cpp @@ -83,6 +83,8 @@ void PerfdataWriter::Resume() void PerfdataWriter::Pause() { + m_RotationTimer.reset(); + #ifdef I2_DEBUG //m_HostOutputFile << "\n# Pause the feature" << "\n\n"; //m_ServiceOutputFile << "\n# Pause the feature" << "\n\n";