summaryrefslogtreecommitdiff
path: root/protocols/Discord
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-08 23:41:43 +0200
committerGeorge Hazan <ghazan@miranda.im>2019-01-08 23:41:43 +0200
commita6eae725381b5329011e4dc8e582ad3db59ba059 (patch)
tree93af474d8c6290f6546cf65e9113e6de08cba430 /protocols/Discord
parentde300f88d5cd37d926d89a11a411b7c1a0ca8a30 (diff)
fixes #1715 (by default account's destructor doesn't free network handle)
Diffstat (limited to 'protocols/Discord')
-rw-r--r--protocols/Discord/src/proto.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp
index 51ca041f9a..b01d48ce58 100644
--- a/protocols/Discord/src/proto.cpp
+++ b/protocols/Discord/src/proto.cpp
@@ -90,8 +90,6 @@ CDiscordProto::CDiscordProto(const char *proto_name, const wchar_t *username) :
CDiscordProto::~CDiscordProto()
{
debugLogA("CDiscordProto::~CDiscordProto");
- Netlib_CloseHandle(m_hNetlibUser);
- m_hNetlibUser = nullptr;
arUsers.destroy();