Don't Terminate the ticker thread (#3748)
[ghc-hetmet.git] / rts / RtsStartup.c
index f0b2598..8e2eac4 100644 (file)
@@ -370,7 +370,7 @@ hs_exit_(rtsBool wait_foreign)
 
     /* stop the ticker */
     stopTimer();
-    exitTimer();
+    exitTimer(wait_foreign);
 
     // set the terminal settings back to what they were
 #if !defined(mingw32_HOST_OS)