mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07: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:
parent
4d323177b8
commit
312c6e8165
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue