diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-22 10:41:07 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-22 10:41:07 +0000 |
commit | 4cfed27d4b371c6ba739e7c6fd2985867b070a6b (patch) | |
tree | d085a1a68948f15ca70380128d1e04d5e6ead924 /protocols/SkypeWeb | |
parent | 833c497d92d790f9d005a1a914fe15a9d04da4ff (diff) |
SkypeWeb: small fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@15010 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index 28d75c7b29..24b1cf110a 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -199,7 +199,7 @@ int CSkypeProto::SetStatus(int iNewStatus) break;
}
- mir_cslock lck(m_StatusLock);
+ //mir_cslock lck(m_StatusLock);
debugLogA(__FUNCTION__ ": changing status from %i to %i", m_iStatus, iNewStatus);
@@ -208,11 +208,6 @@ int CSkypeProto::SetStatus(int iNewStatus) if (iNewStatus == ID_STATUS_OFFLINE)
{
- // logout
- isTerminated = true;
- requestQueue->Stop();
- ShutdownConnections();
-
if (m_iStatus > ID_STATUS_CONNECTING + 1)
{
SendRequest(new DeleteEndpointRequest(li));
@@ -220,6 +215,10 @@ int CSkypeProto::SetStatus(int iNewStatus) delSetting("endpointId");
delSetting("expires");
}
+ // logout
+ isTerminated = true;
+ requestQueue->Stop();
+ ShutdownConnections();
CloseDialogs();
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)m_iStatus, ID_STATUS_OFFLINE);
|