diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-11-28 04:30:07 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-11-28 04:30:07 +0000 |
commit | 0c89be2bea895bfe6c6077f4ac09d72fdffd160f (patch) | |
tree | 3a54c889af2231ea54593e49081dc1fcb5312285 /protocols/VKontakte/src/vk_proto.cpp | |
parent | a4644874587bfc5e56aa806dad663f8710ebbb19 (diff) |
VKontakte:
code cleanup
add debuglog lines
git-svn-id: http://svn.miranda-ng.org/main/trunk@11126 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index c64046bed8..91716d916e 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -86,7 +86,9 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) : CVkProto::~CVkProto()
{
- Netlib_CloseHandle(m_hNetlibUser); m_hNetlibUser = NULL;
+ debugLogA("CVkProto::~CVkProto");
+ Netlib_CloseHandle(m_hNetlibUser);
+ m_hNetlibUser = NULL;
UninitQueue();
UnInitMenus();
if (m_hPopupClassError)
@@ -287,6 +289,7 @@ int CVkProto::OnPreBuildContactMenu(WPARAM hContact, LPARAM) void CVkProto::UnInitMenus()
{
+ debugLogA("CVkProto::UnInitMenus");
for (int i = 0; i < PMI_COUNT; i++)
CallService(MO_REMOVEMENUITEM, (WPARAM)g_hProtoMenuItems[i], 0);
|