summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_netlib.cpp
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/Tox/src/tox_netlib.cpp
parentde300f88d5cd37d926d89a11a411b7c1a0ca8a30 (diff)
fixes #1715 (by default account's destructor doesn't free network handle)
Diffstat (limited to 'protocols/Tox/src/tox_netlib.cpp')
-rw-r--r--protocols/Tox/src/tox_netlib.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/protocols/Tox/src/tox_netlib.cpp b/protocols/Tox/src/tox_netlib.cpp
index ab76d7d815..0ba87ed391 100644
--- a/protocols/Tox/src/tox_netlib.cpp
+++ b/protocols/Tox/src/tox_netlib.cpp
@@ -13,9 +13,3 @@ void CToxProto::InitNetlib()
debugLogA(__FUNCTION__":Setting protocol / module name to '%s'", m_szModuleName);
}
-
-void CToxProto::UninitNetlib()
-{
- Netlib_CloseHandle(m_hNetlibUser);
- m_hNetlibUser = nullptr;
-}