mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-12 09:15:01 +03:00
feat(net): call CGlueMgr::NetDisconnectHandler from NetClient::HandleDisconnect
This commit is contained in:
1 file changed
+2
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user