diff options
Diffstat (limited to 'rts/RtsStartup.c')
-rw-r--r-- | rts/RtsStartup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c index 86d5b2f2d9..07db7b7998 100644 --- a/rts/RtsStartup.c +++ b/rts/RtsStartup.c @@ -578,6 +578,9 @@ hs_exit_(bool wait_foreign) #if defined(mingw32_HOST_OS) if (is_io_mng_native_p()) hs_restoreConsoleCP(); + + /* Disable console signal handlers, we're going down!. */ + finiUserSignals (); #endif /* tear down statistics subsystem */ |