diff options
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 8 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.h | 10 |
2 files changed, 15 insertions, 3 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 diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h index cd358905aa..d7f6fe5aba 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -100,11 +100,17 @@ private: static INT_PTR CALLBACK PasswordEditorProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
HANDLE
- m_hPopupClassCall;
+ m_hPopupClassCall,
+ m_hPopupClassNotify;
// accounts
- char *Server, *RegToken, *TokenSecret, *EndpointId, *SelfSkypeName;
+ char
+ *Server,
+ *RegToken,
+ *TokenSecret,
+ *EndpointId,
+ *SelfSkypeName;
static CSkypeProto* GetContactAccount(MCONTACT hContact);
|