mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02: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/WowConnection.hpp"
|
||||
#include "glue/CGlueMgr.hpp"
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <new>
|
||||
@ -261,7 +262,7 @@ int32_t NetClient::HandleDisconnect() {
|
||||
|
||||
// ConsolePrintf("NetClient::HandleDisconnect()");
|
||||
|
||||
// CGlueMgr::NetDisconnectHandler();
|
||||
CGlueMgr::NetDisconnectHandler(this, nullptr);
|
||||
|
||||
// TODO pop obj mgr
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user