From afeb99849818ec79199eb7af39693fc5a522f017 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Tue, 3 Nov 2015 19:10:08 +0000 Subject: 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 --- protocols/Tox/src/tox_proto.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/Tox/src') 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()) -- cgit v1.2.3