Fix crash when pressing close window button in GP result screen
This commit is contained in:
parent
d2df7c6de9
commit
6f7a196c70
@ -739,6 +739,12 @@ void RaceResultGUI::displayCTFResults()
|
||||
}
|
||||
#endif
|
||||
}
|
||||
//-----------------------------------------------------------------------------
|
||||
void RaceResultGUI::unload()
|
||||
{
|
||||
cleanupGPProgress();
|
||||
Screen::unload();
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
void RaceResultGUI::onConfirm()
|
||||
|
@ -213,6 +213,7 @@ public:
|
||||
virtual void init() OVERRIDE;
|
||||
virtual void tearDown() OVERRIDE;
|
||||
virtual bool onEscapePressed() OVERRIDE;
|
||||
virtual void unload() OVERRIDE;
|
||||
virtual GUIEngine::EventPropagation
|
||||
filterActions(PlayerAction action, int deviceID, const unsigned int value,
|
||||
Input::InputType type, int playerId) OVERRIDE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user