Extend ModBreaks with the srcspan's of the enclosing expressions
[ghc-hetmet.git] / rts / Timer.c
index 0e0b538..586991a 100644 (file)
@@ -93,5 +93,7 @@ startTimer(void)
 void
 stopTimer(void)
 {
-  stopTicker();
+  if (RtsFlags.MiscFlags.tickInterval != 0) {
+      stopTicker();
+  }
 }