| 168 | } |
| 169 | |
| 170 | void Application::destroyScene() |
| 171 | { |
| 172 | saveSettings(); |
| 173 | |
| 174 | StateManager::getInstance().rollbackToState(nullptr); |
| 175 | |
| 176 | DestroyControls(); |
| 177 | |
| 178 | GridManager::getInstance().shutdown(); |
| 179 | delete GridManager::getInstancePtr(); |
| 180 | |
| 181 | PropertyFieldManager::getInstance().shutdown(); |
| 182 | delete PropertyFieldManager::getInstancePtr(); |
| 183 | |
| 184 | EditorToolTip::getInstance().shutdown(); |
| 185 | delete EditorToolTip::getInstancePtr(); |
| 186 | |
| 187 | ColourManager::getInstance().shutdown(); |
| 188 | delete ColourManager::getInstancePtr(); |
| 189 | |
| 190 | BackwardCompatibilityManager::getInstance().shutdown(); |
| 191 | delete BackwardCompatibilityManager::getInstancePtr(); |
| 192 | |
| 193 | RecentFilesManager::getInstance().shutdown(); |
| 194 | delete RecentFilesManager::getInstancePtr(); |
| 195 | |
| 196 | StateManager::getInstance().shutdown(); |
| 197 | delete StateManager::getInstancePtr(); |
| 198 | |
| 199 | GroupMessage::getInstance().shutdown(); |
| 200 | delete GroupMessage::getInstancePtr(); |
| 201 | |
| 202 | DialogManager::getInstance().shutdown(); |
| 203 | delete DialogManager::getInstancePtr(); |
| 204 | |
| 205 | MessageBoxManager::getInstance().shutdown(); |
| 206 | delete MessageBoxManager::getInstancePtr(); |
| 207 | |
| 208 | UndoManager::getInstance().shutdown(); |
| 209 | delete UndoManager::getInstancePtr(); |
| 210 | |
| 211 | EditorWidgets::getInstance().shutdown(); |
| 212 | delete EditorWidgets::getInstancePtr(); |
| 213 | |
| 214 | WidgetTypes::getInstance().shutdown(); |
| 215 | delete WidgetTypes::getInstancePtr(); |
| 216 | |
| 217 | HotKeyManager::getInstance().shutdown(); |
| 218 | delete HotKeyManager::getInstancePtr(); |
| 219 | |
| 220 | WidgetCreatorManager::getInstance().shutdown(); |
| 221 | delete WidgetCreatorManager::getInstancePtr(); |
| 222 | |
| 223 | WidgetSelectorManager::getInstance().shutdown(); |
| 224 | delete WidgetSelectorManager::getInstancePtr(); |
| 225 | |
| 226 | CommandManager::getInstance().shutdown(); |
| 227 | delete CommandManager::getInstancePtr(); |
nothing calls this directly
no test coverage detected