summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Tox/src/tox_proto.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp
index c7de660715..4c980a26cc 100644
--- a/protocols/Tox/src/tox_proto.cpp
+++ b/protocols/Tox/src/tox_proto.cpp
@@ -154,6 +154,7 @@ int CToxProto::SetStatus(int iNewStatus)
if (toxThread)
{
toxThread->Stop();
+ toxThread = NULL;
}
if (!Miranda_Terminated())