summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-11-03 19:10:08 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-11-03 19:10:08 +0000
commitafeb99849818ec79199eb7af39693fc5a522f017 (patch)
tree508857e9e3ae82fd8f83fa918a60a62f2173a9fc /protocols/Tox/src/tox_proto.cpp
parent13b9e58ec236060385c3701ffe9a314992a073ec (diff)
Tox: attempt to fix crash on IsOnline call 2
git-svn-id: http://svn.miranda-ng.org/main/trunk@15676 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.cpp')
-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())