diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-12-27 08:32:03 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-12-27 08:32:03 +0000 |
commit | 6129d10b7a7529800f76fe858739b681f8932106 (patch) | |
tree | cbf8776a606897cb9b12a24b7a67027dfa9457b6 | |
parent | 44cebe183fc13d6ced4c2eed155aa03909a542f4 (diff) |
Steam: Fix disconnecting protocol from pollingthread on error
git-svn-id: http://svn.miranda-ng.org/main/trunk@15943 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/Steam/src/steam_polling.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_polling.cpp b/protocols/Steam/src/steam_polling.cpp index bbc05e1451..c691cd979e 100644 --- a/protocols/Steam/src/steam_polling.cpp +++ b/protocols/Steam/src/steam_polling.cpp @@ -287,12 +287,12 @@ void CSteamProto::PollingThread(void*) setDword("MessageID", messageId); - m_hPollingThread = NULL; - debugLog(_T("CSteamProto::PollingThread: leaving")); - if (IsOnline()) { debugLog(_T("CSteamProto::PollingThread: unexpected termination; switching protocol to offline")); SetStatus(ID_STATUS_OFFLINE); } + + m_hPollingThread = NULL; + debugLog(_T("CSteamProto::PollingThread: leaving")); }
\ No newline at end of file |