This commit is contained in:
aozhiwei 2019-06-04 15:29:27 +08:00
parent ca1093988a
commit 4fdcfae520
2 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,7 @@ static void SavePerfLog()
a8::UdpLog::Instance()->Info("max_mainloop_rundelay:%d room_num:%d player_num:%d online_num:%d", a8::UdpLog::Instance()->Info("max_mainloop_rundelay:%d room_num:%d player_num:%d online_num:%d",
{ {
App::Instance()->perf.max_run_delay_time, App::Instance()->perf.max_run_delay_time,
RoomMgr::Instance()->RoomNum() RoomMgr::Instance()->RoomNum(),
0, 0,
PlayerMgr::Instance()->OnlineNum() PlayerMgr::Instance()->OnlineNum()
}); });

View File

@ -162,6 +162,7 @@ Room* RoomMgr::GetRoomByUuid(long long room_uuid)
void RoomMgr::AddOverRoom(long long room_uuid) void RoomMgr::AddOverRoom(long long room_uuid)
{ {
inactive_room_hash_.erase(room_uuid);
a8::Timer::Instance()->AddDeadLineTimer(1000, a8::Timer::Instance()->AddDeadLineTimer(1000,
a8::XParams() a8::XParams()
.SetSender(room_uuid), .SetSender(room_uuid),