From 39fd55ba289dac79de681d420a071a74e28c4455 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 27 Mar 2018 16:44:15 +0300 Subject: we better start threads inside OnModulesLoaded, so we don't have to kill them --- protocols/JabberG/src/jabber_proto.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src/jabber_proto.cpp') diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 5957cfd772..6a125f7ffc 100755 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -188,7 +188,6 @@ CJabberProto::CJabberProto(const char *aProtoName, const wchar_t *aUserName) : HookProtoEvent(ME_SKIN2_ICONSCHANGED, &CJabberProto::OnReloadIcons); m_iqManager.FillPermanentHandlers(); - m_iqManager.Start(); m_messageManager.FillPermanentHandlers(); m_adhocManager.FillDefaultNodes(); @@ -198,7 +197,6 @@ CJabberProto::CJabberProto(const char *aProtoName, const wchar_t *aUserName) : InitPopups(); GlobalMenuInit(); WsInit(); - ConsoleInit(); m_pepServices.insert(new CPepMood(this)); m_pepServices.insert(new CPepActivity(this)); @@ -273,6 +271,9 @@ int CJabberProto::OnModulesLoadedEx(WPARAM, LPARAM) XStatusInit(); m_pepServices.InitGui(); + m_iqManager.Start(); + + ConsoleInit(); InitInfoFrame(); GCREGISTER gcr = {}; -- cgit v1.2.3