diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-10-24 19:51:15 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-11-01 12:58:36 -0500 |
commit | 5c2e6bced838b7d7617af2bfb272889a9af16a76 (patch) | |
tree | 919af25048be5c7c42a31bb33d0a932db52036e3 /rts/sm | |
parent | b1dda15324bf08dcd6265e066577c18d4f3f061d (diff) | |
download | haskell-5c2e6bced838b7d7617af2bfb272889a9af16a76.tar.gz |
rts: Tear down stats_mutex after exitHeapProfilingwip/tsan/stats
Since the latter wants to call getRTSStats.
Diffstat (limited to 'rts/sm')
-rw-r--r-- | rts/sm/Storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c index 96bc133d02..c8c07db737 100644 --- a/rts/sm/Storage.c +++ b/rts/sm/Storage.c @@ -302,7 +302,7 @@ exitStorage (void) { nonmovingExit(); updateNurseriesStats(); - stat_exit(); + stat_exitReport(); } void |