MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / ~CUH_Control

Method ~CUH_Control

UTCP/src/uh_ctrl.cpp:92–114  ·  view source on GitHub ↗

Destructor ***********************************/

Source from the content-addressed store, hash-verified

90Destructor
91***********************************/
92CUH_Control::~CUH_Control(){
93
94 ClearHistory();
95
96 if(m_font)
97 DeleteObject(m_font);
98
99 if(m_hWnd != NULL)
100 DestroyWindow(m_hWnd);
101
102 if(m_DateFormatString != NULL)
103 delete[] m_DateFormatString;
104 if(m_logName != NULL)
105 delete[] m_logName;
106
107
108 CloseLog();
109
110 //release the critical section
111 #ifdef UH_THREADSAFE
112 DeleteCriticalSection(&m_criticalSection);
113 #endif
114}
115
116/**********************************
117CreateHistoryWindow

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected