aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cli/speed.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp
index 80228bcd8..01e41e323 100644
--- a/src/cli/speed.cpp
+++ b/src/cli/speed.cpp
@@ -163,7 +163,11 @@ class Timer final
}
~Timer_Scope()
{
- m_timer.stop();
+ try
+ {
+ m_timer.stop();
+ }
+ catch(...) {}
}
private:
Timer& m_timer;