Changeset View
Changeset View
Standalone View
Standalone View
main.cpp
Show First 20 Lines • Show All 155 Lines • ▼ Show 20 Line(s) | 139 | { | |||
---|---|---|---|---|---|
156 | 156 | | |||
157 | performStartup(); | 157 | performStartup(); | ||
158 | } | 158 | } | ||
159 | 159 | | |||
160 | Application::~Application() | 160 | Application::~Application() | ||
161 | { | 161 | { | ||
162 | delete options; | 162 | delete options; | ||
163 | destroyAtoms(); | 163 | destroyAtoms(); | ||
164 | destroyPlatform(); | ||||
164 | } | 165 | } | ||
165 | 166 | | |||
166 | void Application::destroyAtoms() | 167 | void Application::destroyAtoms() | ||
167 | { | 168 | { | ||
168 | delete atoms; | 169 | delete atoms; | ||
169 | atoms = nullptr; | 170 | atoms = nullptr; | ||
170 | } | 171 | } | ||
171 | 172 | | |||
173 | void Application::destroyPlatform() | ||||
174 | { | ||||
175 | delete m_platform; | ||||
176 | m_platform = nullptr; | ||||
177 | } | ||||
178 | | ||||
172 | void Application::resetCrashesCount() | 179 | void Application::resetCrashesCount() | ||
173 | { | 180 | { | ||
174 | crashes = 0; | 181 | crashes = 0; | ||
175 | } | 182 | } | ||
176 | 183 | | |||
177 | void Application::setCrashCount(int count) | 184 | void Application::setCrashCount(int count) | ||
178 | { | 185 | { | ||
179 | crashes = count; | 186 | crashes = count; | ||
▲ Show 20 Lines • Show All 278 Lines • Show Last 20 Lines |