diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index f4bdb7aac9..24b1cf110a 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -49,7 +49,6 @@ CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName) : SkinAddNewSoundEx("skype_call_canceled", "SkypeWeb", LPGEN("Incoming call canceled sound"));
m_hTrouterEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
- m_hLoginEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
SkypeSetTimer();
}
@@ -63,8 +62,7 @@ CSkypeProto::~CSkypeProto() UninitPopups();
CloseHandle(m_hTrouterEvent); m_hTrouterEvent = NULL;
- CloseHandle(m_hLoginEvent); m_hLoginEvent = NULL;
-
+
SkypeUnsetTimer();
}
@@ -237,7 +235,7 @@ int CSkypeProto::SetStatus(int iNewStatus) if (old_status == ID_STATUS_OFFLINE && m_iStatus == ID_STATUS_OFFLINE)
{
- ForkThread(&CSkypeProto::Login, NULL);
+ Login();
}
else
{
|