Skip to content

Commit

Permalink
Fixed|libcommon: Shutdown during finale caused fatal error
Browse files Browse the repository at this point in the history
When the finale stack was cleared, GUI widgets were accessed via a hook
function for script stopping. Now GUI widgets are destroyed later
during the libcommon shutdown, resolving the error situation.
  • Loading branch information
skyjake committed Aug 28, 2012
1 parent 9da228c commit 2dc7f6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doomsday/plugins/common/src/g_game.c
Expand Up @@ -994,11 +994,10 @@ void G_CommonShutdown(void)
P_Shutdown();
G_ShutdownEventSequences();

FI_StackShutdown();
Hu_MenuShutdown();
ST_Shutdown();
GUI_Shutdown();

FI_StackShutdown();
}

/**
Expand Down

0 comments on commit 2dc7f6a

Please sign in to comment.