summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_network.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-05-16 15:33:47 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-05-16 15:33:47 +0000
commit4bbad2f0985a74f86ecc27d7e95e2ecfcd2d3665 (patch)
treeb4d32e95cb9c7ebce643099ca07588a471119aa1 /protocols/Tox/src/tox_network.cpp
parentb82fefb0f00c12e87fd5178723ee66fecd97d655 (diff)
Tox: some fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@16834 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_network.cpp')
-rw-r--r--protocols/Tox/src/tox_network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp
index 13182139f1..bf5e54ccc2 100644
--- a/protocols/Tox/src/tox_network.cpp
+++ b/protocols/Tox/src/tox_network.cpp
@@ -289,10 +289,10 @@ void CToxProto::PollingThread(void*)
toxThread.Iterate();
}
- this->toxThread = NULL;
-
toxThread.Disconnect();
UninitToxCore(&toxThread);
+ this->toxThread = NULL;
+
debugLogA(__FUNCTION__": leaving");
} \ No newline at end of file