mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
Properly terminate the XMPP connection
This ensures the XMPP connection gets properly terminated when leaving the lobby. Fixes #7504
This commit is contained in:
@@ -169,6 +169,8 @@ XmppClient::XmppClient(const ScriptInterface* scriptInterface, const std::string
|
||||
*/
|
||||
XmppClient::~XmppClient()
|
||||
{
|
||||
this->disconnect();
|
||||
|
||||
DbgXMPP("XmppClient destroyed");
|
||||
delete m_registration;
|
||||
delete m_mucRoom;
|
||||
|
||||
Reference in New Issue
Block a user