Эх сурвалжийг харах

!2 log Duplication ScheduleTimer

chenliangyu 4 сар өмнө
parent
commit
6674cfeaa5

+ 1 - 0
Framework/spbase/SpFSM.cpp

@@ -283,6 +283,7 @@ ErrorCodeEnum FSMBase::ScheduleTimer(int iTimerId, unsigned int timeout)
 	FSMTimer *pos;
 	ListEntry_ForEach(pos, &m_timerlist, FSMTimer, entry) {
 		if (pos->iTimerId == iTimerId) {
+			DbgWithLink(LOG_LEVEL_ERROR, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("ScheduleTimer Duplication");
 			return Error_Duplication;
 		}
 	}