feat(net): call CGlueMgr::NetDisconnectHandler from NetClient::HandleDisconnect

This commit is contained in:
fallenoak 2025-10-09 22:26:17 -05:00
parent 9329fd3552
commit 420f15afa4
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -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