Commit 897bcbf8 authored by Simon Marlow's avatar Simon Marlow

FIX: #1227 (biographical profiling broken)

We were freeing the hash table storage with exitHashTable() before
calling endProfiling(), which uses hash tables.
parent 7f6c0399
......@@ -459,9 +459,6 @@ hs_exit(void)
freeThreadLabelTable();
#endif
/* free hash table storage */
exitHashTable();
#ifdef RTS_GTK_FRONTPANEL
if (RtsFlags.GcFlags.frontpanel) {
stopFrontPanel();
......@@ -489,6 +486,9 @@ hs_exit(void)
shutdownAsyncIO();
#endif
/* free hash table storage */
exitHashTable();
// Finally, free all our storage
freeStorage();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment