From 6129d10b7a7529800f76fe858739b681f8932106 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 27 Dec 2015 08:32:03 +0000 Subject: Steam: Fix disconnecting protocol from pollingthread on error git-svn-id: http://svn.miranda-ng.org/main/trunk@15943 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_polling.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols') 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 -- cgit v1.2.3