freeThreadLabelTable();
#endif
- /* free hash table storage */
- exitHashTable();
-
#ifdef RTS_GTK_FRONTPANEL
if (RtsFlags.GcFlags.frontpanel) {
stopFrontPanel();
shutdownAsyncIO();
#endif
+ /* free hash table storage */
+ exitHashTable();
+
// Finally, free all our storage
freeStorage();