Commits

prokhin_alexey  committed d5c87a4

Fixed crashes due to bugs in ldisconnect()

  • Participants
  • Parent commits e2aa9cc

Comments (0)

Files changed (4)

Submodule 3rdparty/qtboostintegration

-Subproject commit d11a130682ed549b90cada64a0420569a05fdbd9
+Subproject commit 291b0045253470fa9a7d389abf76635b90edc4f5

File src/lime/actionobject.cpp

 
 Action::~Action()
 {
-	// QMenus and ActionToolbar will handle that themselves
-	// qDeleteAll(m_actions);
+	foreach (auto act, m_actions)
+		act->deleteLater();
 }
 
 int Action::priority() const

File src/lime/actiontoolbar.cpp

 	}
 }
 
-} // Lime
+} // Lime

File src/protocols/jabber/jabberaccount.cpp

 bool JabberAccount::disableImpl()
 {
 	qDeleteAll(contacts());
-	delete m_client; m_client = 0;
+	qDeleteAll(m_conferences);
+	m_conferences.clear();
+	m_client->deleteLater(); m_client = 0;
 	return true;
 }