summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Steam/src/steam_polling.cpp6
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