1
This commit is contained in:
parent
34d15e9408
commit
a79aca1198
@ -11,6 +11,7 @@
|
|||||||
#include <f8/udplog.h>
|
#include <f8/udplog.h>
|
||||||
#include <f8/utils.h>
|
#include <f8/utils.h>
|
||||||
#include <f8/timer.h>
|
#include <f8/timer.h>
|
||||||
|
#include <f8/btmgr.h>
|
||||||
|
|
||||||
#include "playermgr.h"
|
#include "playermgr.h"
|
||||||
#include "player.h"
|
#include "player.h"
|
||||||
@ -186,6 +187,8 @@ void Room::UnInit()
|
|||||||
for (auto& pair : team_hash_) {
|
for (auto& pair : team_hash_) {
|
||||||
delete pair.second;
|
delete pair.second;
|
||||||
}
|
}
|
||||||
|
f8::BtMgr::Instance()->BtDestory(room_agent_);
|
||||||
|
room_agent_ = nullptr;
|
||||||
team_hash_.clear();
|
team_hash_.clear();
|
||||||
A8_SAFE_DELETE(frame_event_data);
|
A8_SAFE_DELETE(frame_event_data);
|
||||||
PerfMonitor::Instance()->alive_count -= alive_count_;
|
PerfMonitor::Instance()->alive_count -= alive_count_;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user