summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-10-29 12:25:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-10-29 12:25:45 +0300
commit3217ab9478e5f2a304e44cebd2e6ea7825a42f8c (patch)
treec5e6ec810fc20b9d94654358d36dbcad4e0a836b /protocols/Discord/src/proto.cpp
parent60abc2fbd6fc10083e821340f9edc3593de5637e (diff)
Discord:
- crash fix on exit; - fix for calling KillTimer from the worker process; - fix for disconnecting whole account when server orders to reset the gateway connection
Diffstat (limited to 'protocols/Discord/src/proto.cpp')
-rw-r--r--protocols/Discord/src/proto.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp
index 55df6c34c5..6ef95ffbd3 100644
--- a/protocols/Discord/src/proto.cpp
+++ b/protocols/Discord/src/proto.cpp
@@ -88,6 +88,8 @@ CDiscordProto::~CDiscordProto()
Netlib_CloseHandle(m_hNetlibUser);
m_hNetlibUser = nullptr;
+ arUsers.destroy();
+
m_arHttpQueue.destroy();
::CloseHandle(m_evRequestsQueue);
}