Skip to content

Commit

Permalink
Fixed|ClientApp: Subsystem deletion order
Browse files Browse the repository at this point in the history
When the appearance editor is open, the window system is dependent
on the settings in the render subsystem (ClientWindow owns the
sidebar widget).

Todo: Observers should support automatically leaving destroyed
audiences.
  • Loading branch information
skyjake committed Nov 22, 2013
1 parent 26c0724 commit 28980a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/client/src/clientapp.cpp
Expand Up @@ -126,8 +126,8 @@ DENG2_PIMPL(ClientApp)
QMenuBar *menuBar;
InputSystem *inputSys;
QScopedPointer<WidgetActions> widgetActions;
WindowSystem *winSys;
RenderSystem *renderSys;
WindowSystem *winSys;
ServerLink *svLink;
GLShaderBank shaderBank;
Games games;
Expand All @@ -150,8 +150,8 @@ DENG2_PIMPL(ClientApp)
DD_Shutdown();

delete svLink;
delete renderSys;
delete winSys;
delete renderSys;
delete inputSys;
delete menuBar;
clientAppSingleton = 0;
Expand Down

0 comments on commit 28980a0

Please sign in to comment.