diff options
author | George Hazan <george.hazan@gmail.com> | 2015-09-17 16:49:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-09-17 16:49:30 +0000 |
commit | 26f8fb4e20c14e47284ba27effb0c5ba8455e6e5 (patch) | |
tree | 7dea6bfecd00fe7453d8936efcac05d0bdca3714 /protocols/Tox/src/tox_network.cpp | |
parent | b0abf16219e63aef53b91fa89252b5f6ceb318ad (diff) |
crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15371 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_network.cpp')
-rw-r--r-- | protocols/Tox/src/tox_network.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp index 9520672494..e87981ef40 100644 --- a/protocols/Tox/src/tox_network.cpp +++ b/protocols/Tox/src/tox_network.cpp @@ -150,6 +150,7 @@ void CToxProto::PollingThread(void*) if (!InitToxCore())
{
+ UninitToxCore();
SetStatus(ID_STATUS_OFFLINE);
ProtoBroadcastAck(NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_WRONGPASSWORD);
logger->Log(__FUNCTION__": leaving");
|