|
@@ -152,9 +152,11 @@ void CHealthManagerFSM::s1_on_entry()
|
|
|
it->second.eResult = LOADING_TIMEOUT;
|
|
it->second.eResult = LOADING_TIMEOUT;
|
|
|
else
|
|
else
|
|
|
it->second.eResult = LOADING_FAILED;
|
|
it->second.eResult = LOADING_FAILED;
|
|
|
|
|
+
|
|
|
if (_strnicmp(it->first,"WatchDog",strlen("WatchDog")) == 0
|
|
if (_strnicmp(it->first,"WatchDog",strlen("WatchDog")) == 0
|
|
|
&& it->second.eResult == LOADING_SUCCEED)
|
|
&& it->second.eResult == LOADING_SUCCEED)
|
|
|
bWatchDog = true;
|
|
bWatchDog = true;
|
|
|
|
|
+
|
|
|
if (errCode != Error_Succeed)
|
|
if (errCode != Error_Succeed)
|
|
|
return;
|
|
return;
|
|
|
else
|
|
else
|
|
@@ -436,7 +438,7 @@ void CHealthManagerFSM::s3_on_entry()
|
|
|
map<CSimpleStringA,EntityLoadInfo>::iterator it;
|
|
map<CSimpleStringA,EntityLoadInfo>::iterator it;
|
|
|
CSmartPointer<IEntityFunction> pFunc = GetEntityBase()->GetFunction();
|
|
CSmartPointer<IEntityFunction> pFunc = GetEntityBase()->GetFunction();
|
|
|
CSmartPointer<IEntityFunctionPrivilege> pFuncPrivilege = pFunc.ConvertCase<IEntityFunctionPrivilege>();
|
|
CSmartPointer<IEntityFunctionPrivilege> pFuncPrivilege = pFunc.ConvertCase<IEntityFunctionPrivilege>();
|
|
|
- //start entity
|
|
|
|
|
|
|
+ //start entity
|
|
|
|
|
|
|
|
|
|
|
|
|
ErrorCodeEnum errCode;
|
|
ErrorCodeEnum errCode;
|