diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-04-06 23:25:02 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-04-06 23:27:03 +0300 |
commit | 77f05f77b497b1d69e8107caefd6d19fa9c609ab (patch) | |
tree | e2f921999022cc109769ec9121dfada6f42f760e /protocols/JabberG/src/jabber_proto.cpp | |
parent | 7026430bb2c2fc4b19f844ef20e7734628139003 (diff) |
jabber: omemo: working on 4.4
implemented sessions cleanup on exit
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_proto.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index b5bb2108ed..46aeb99dc6 100755 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -153,6 +153,10 @@ CJabberProto::CJabberProto(const char *aProtoName, const wchar_t *aUserName) : m_tszSelectedLang = mir_wstrdup(L"en");
}
+namespace omemo {
+ void clean_sessions();
+};
+
CJabberProto::~CJabberProto()
{
WsUninit();
@@ -190,6 +194,7 @@ CJabberProto::~CJabberProto() mir_free(m_lstJabberFeatCapPairsDynamic[i]->szDescription);
delete m_lstJabberFeatCapPairsDynamic[i];
}
+ omemo::clean_sessions();
}
////////////////////////////////////////////////////////////////////////////////////////
|