1
This commit is contained in:
commit
c7343f79ee
@ -203,7 +203,7 @@ bool App::Init(int argc, char* argv[])
|
|||||||
|
|
||||||
f8::UdpLog::Instance()->Info("gameserver starting instance_id:%d pid:%d debug_mode:%d channel:%d",
|
f8::UdpLog::Instance()->Info("gameserver starting instance_id:%d pid:%d debug_mode:%d channel:%d",
|
||||||
{
|
{
|
||||||
instance_id_,
|
instance_id_,
|
||||||
getpid(),
|
getpid(),
|
||||||
debug_mode,
|
debug_mode,
|
||||||
JsonDataMgr::Instance()->channel
|
JsonDataMgr::Instance()->channel
|
||||||
@ -226,7 +226,7 @@ bool App::Init(int argc, char* argv[])
|
|||||||
[] (int event, const a8::Args* args)
|
[] (int event, const a8::Args* args)
|
||||||
{
|
{
|
||||||
if (a8::TIMER_EXEC_EVENT == event) {
|
if (a8::TIMER_EXEC_EVENT == event) {
|
||||||
App::Instance()->terminated_ = true;
|
App::Instance()->Terminate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -165,8 +165,8 @@ namespace mt
|
|||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (App::Instance()->instance_id == 600 ||
|
if (App::Instance()->GetInstanceId() == 600 ||
|
||||||
App::Instance()->instance_id == 100) {
|
App::Instance()->GetInstanceId() == 100) {
|
||||||
_float_cd = 6;
|
_float_cd = 6;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user