| 133 | } |
| 134 | |
| 135 | void CGamePersistent::OnAppEnd() |
| 136 | { |
| 137 | if (m_pMainMenu->IsActive()) |
| 138 | m_pMainMenu->Activate(false); |
| 139 | |
| 140 | xr_delete(m_pMainMenu); |
| 141 | xr_delete(m_pUI_core); |
| 142 | |
| 143 | __super::OnAppEnd(); |
| 144 | |
| 145 | clean_game_globals(); |
| 146 | |
| 147 | GMLib.Unload(); |
| 148 | } |
| 149 | |
| 150 | void CGamePersistent::PreStart(LPCSTR op) |
| 151 | { |
nothing calls this directly
no test coverage detected