diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-08 23:41:43 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-08 23:41:43 +0200 |
commit | a6eae725381b5329011e4dc8e582ad3db59ba059 (patch) | |
tree | 93af474d8c6290f6546cf65e9113e6de08cba430 /protocols/Steam | |
parent | de300f88d5cd37d926d89a11a411b7c1a0ca8a30 (diff) |
fixes #1715 (by default account's destructor doesn't free network handle)
Diffstat (limited to 'protocols/Steam')
-rw-r--r-- | protocols/Steam/src/steam_proto.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
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; } |