summaryrefslogtreecommitdiff
path: root/rts/sm
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-10-24 19:51:15 -0400
committerBen Gamari <ben@smart-cactus.org>2020-11-01 12:58:36 -0500
commit5c2e6bced838b7d7617af2bfb272889a9af16a76 (patch)
tree919af25048be5c7c42a31bb33d0a932db52036e3 /rts/sm
parentb1dda15324bf08dcd6265e066577c18d4f3f061d (diff)
downloadhaskell-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.c2
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