summaryrefslogtreecommitdiff
path: root/protocols/Tox
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-04-27 18:09:39 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-04-27 18:09:39 +0000
commit0a5d4c1026a8146e6213e531f22b7ec32d4fc61e (patch)
tree6e63bd4dbe62ee5f7de23118529a18b491fed9dd /protocols/Tox
parent48b0cebec2f4ae03d14ea1e9ca8caf800a1eaa29 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16781 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox')
-rw-r--r--protocols/Tox/src/tox_network.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp
index 90ce85754b..d3a88056b7 100644
--- a/protocols/Tox/src/tox_network.cpp
+++ b/protocols/Tox/src/tox_network.cpp
@@ -188,6 +188,8 @@ void CToxProto::PollingThread(void*)
toxThread.Iterate();
}
+ this->toxThread = NULL;
+
toxThread.Disconnect();
UninitToxCore(&toxThread);