summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_login.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-12-29 16:03:42 +0300
committeraunsane <aunsane@gmail.com>2017-12-29 16:04:05 +0300
commit939048b7ebce6a70c8e243fec36983de7d931e8b (patch)
tree8921c8e97595c9817537cf02feb151c947fa5f44 /protocols/Steam/src/steam_login.cpp
parentc4759940cdd3af9b314f71b3eec461b888cf62df (diff)
Steam: fix high CPU usage
Diffstat (limited to 'protocols/Steam/src/steam_login.cpp')
-rw-r--r--protocols/Steam/src/steam_login.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp
index 3375a128d5..def14a9d26 100644
--- a/protocols/Steam/src/steam_login.cpp
+++ b/protocols/Steam/src/steam_login.cpp
@@ -75,8 +75,8 @@ bool CSteamProto::Relogin()
void CSteamProto::LogOut()
{
isTerminated = true;
- if (hRequestQueueThread)
- SetEvent(hRequestsQueueEvent);
+ if (m_hRequestQueueThread)
+ SetEvent(m_hRequestsQueueEvent);
ptrA token(getStringA("TokenSecret"));
if (mir_strlen(token) > 0)