FIX #38000 Store StgArrWords payload size in bytes
[ghc-hetmet.git] / rts / RtsStartup.c
index f0b2598..b0cddbd 100644 (file)
@@ -184,7 +184,9 @@ hs_init(int *argc, char **argv[])
 
     getStablePtr((StgPtr)runSparks_closure);
     getStablePtr((StgPtr)ensureIOManagerIsRunning_closure);
+#ifndef mingw32_HOST_OS
     getStablePtr((StgPtr)runHandlers_closure);
+#endif
 
     /* initialise the shared Typeable store */
     initGlobalStore();
@@ -370,7 +372,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)