| 221 | } |
| 222 | |
| 223 | void CMainFrame::OnClose() |
| 224 | { |
| 225 | m_logSources.Abort(); |
| 226 | m_GuiExecutorClient.reset(); |
| 227 | SaveSettings(); |
| 228 | DestroyWindow(); |
| 229 | |
| 230 | if (m_notifyIconData.cbSize) |
| 231 | { |
| 232 | Shell_NotifyIcon(NIM_DELETE, &m_notifyIconData); |
| 233 | m_notifyIconData.cbSize = 0; |
| 234 | } |
| 235 | |
| 236 | #ifdef CONSOLE_DEBUG |
| 237 | fclose(stdout); |
| 238 | FreeConsole(); |
| 239 | #endif |
| 240 | } |
| 241 | |
| 242 | LRESULT CMainFrame::OnQueryEndSession(WPARAM, LPARAM) |
| 243 | { |
nothing calls this directly
no test coverage detected