summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_core.cpp')
-rw-r--r--protocols/Tox/src/tox_core.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_core.cpp b/protocols/Tox/src/tox_core.cpp
index a2da0b3e85..bcd8ade298 100644
--- a/protocols/Tox/src/tox_core.cpp
+++ b/protocols/Tox/src/tox_core.cpp
@@ -124,6 +124,7 @@ void CToxProto::UninitToxCore()
SaveToxProfile();
tox_kill(toxThread->tox);
- this->toxThread = NULL;
}
+
+ toxThread = NULL;
} \ No newline at end of file