mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 08:13:50 +03:00
feat(client): add ClientServices::Disconnect
This commit is contained in:
1 parent
ab346f1b42
commit
88b93b89af
4 files changed
+8
-3
No files matched your search
@@ -115,7 +115,7 @@ void CGlueMgr::ChangeRealm(const REALM_INFO* realmInfo) {
|
||||
CGlueMgr::m_disconnectPending = 1;
|
||||
CGlueMgr::m_reconnect = 1;
|
||||
|
||||
ClientServices::Connection()->Disconnect();
|
||||
ClientServices::Disconnect();
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -623,7 +623,7 @@ void CGlueMgr::PollAccountLogin(int32_t errorCode, const char* msg, int32_t comp
|
||||
|
||||
if (errorCode == 2) {
|
||||
CGlueMgr::m_disconnectPending = 1;
|
||||
ClientServices::Connection()->Disconnect();
|
||||
ClientServices::Disconnect();
|
||||
}
|
||||
|
||||
if (errorCode != 13) {
|
||||
|
||||
Reference in new issue
Block a user