MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / OnClose

Method OnClose

DebugView++/MainFrame.cpp:223–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223void 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
242LRESULT CMainFrame::OnQueryEndSession(WPARAM, LPARAM)
243{

Callers

nothing calls this directly

Calls 2

DestroyWindowFunction · 0.85
AbortMethod · 0.45

Tested by

no test coverage detected