From a6eae725381b5329011e4dc8e582ad3db59ba059 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 8 Jan 2019 23:41:43 +0200 Subject: fixes #1715 (by default account's destructor doesn't free network handle) --- protocols/Steam/src/steam_proto.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'protocols/Steam/src') diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp index 67cca4f27e..cda3349382 100644 --- a/protocols/Steam/src/steam_proto.cpp +++ b/protocols/Steam/src/steam_proto.cpp @@ -87,13 +87,7 @@ CSteamProto::CSteamProto(const char* protoName, const wchar_t* userName) CSteamProto::~CSteamProto() { - if (m_hNetlibUser) - { - Netlib_CloseHandle(m_hNetlibUser); - m_hNetlibUser = nullptr; - } - if (m_hRequestsQueueEvent) - { + if (m_hRequestsQueueEvent) { CloseHandle(m_hRequestsQueueEvent); m_hRequestsQueueEvent = nullptr; } -- cgit v1.2.3