diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-05 11:38:55 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-05 11:38:55 +0000 |
commit | 109ac08a6f37674f4e0ebbf018ec78486347bf46 (patch) | |
tree | e8e6371692dcc13e286a716a9400ee0c334f77b2 /protocols/SkypeWeb/src/skype_proto.cpp | |
parent | e7769e940344cc40972b886765e423683f3d43c6 (diff) |
SkypeWeb: Small fixes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13438 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index ffda491a32..5333774260 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -78,6 +78,12 @@ CSkypeProto::~CSkypeProto() delete requestQueue;
Netlib_CloseHandle(m_hNetlibUser);
m_hNetlibUser = NULL;
+
+ if (m_hPopupClassCall)
+ Popup_UnregisterClass(m_hPopupClassCall);
+ if (m_hPopupClassNotify)
+ Popup_UnregisterClass(m_hPopupClassNotify);
+
skypeInstances.remove(this);
}
@@ -330,5 +336,5 @@ void CSkypeProto::InitPopups() ppc.colorBack = RGB(255, 255, 255);
ppc.colorText = RGB(0, 0, 0);
ppc.iSeconds = 5;
- m_hPopupClassCall = Popup_RegisterClass(&ppc);
+ m_hPopupClassNotify = Popup_RegisterClass(&ppc);
}
\ No newline at end of file |