mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 00:32:45 +03:00
feat(net): call CGlueMgr::NetDisconnectHandler from NetClient::HandleDisconnect
This commit is contained in:
parent
9329fd3552
commit
420f15afa4
@ -1,5 +1,6 @@
|
|||||||
#include "net/connection/NetClient.hpp"
|
#include "net/connection/NetClient.hpp"
|
||||||
#include "net/connection/WowConnection.hpp"
|
#include "net/connection/WowConnection.hpp"
|
||||||
|
#include "glue/CGlueMgr.hpp"
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <new>
|
#include <new>
|
||||||
@ -261,7 +262,7 @@ int32_t NetClient::HandleDisconnect() {
|
|||||||
|
|
||||||
// ConsolePrintf("NetClient::HandleDisconnect()");
|
// ConsolePrintf("NetClient::HandleDisconnect()");
|
||||||
|
|
||||||
// CGlueMgr::NetDisconnectHandler();
|
CGlueMgr::NetDisconnectHandler(this, nullptr);
|
||||||
|
|
||||||
// TODO pop obj mgr
|
// TODO pop obj mgr
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user