- {
- timerlist::iterator found = Timers.find(n);
- if (found != Timers.end())
- {
- timergroup* x = found->second;
- for (timergroup::iterator y = x->begin(); y != x->end(); y++)
- {
- InspTimer* z = *y;
- z->Tick(TIME);
- if (z->GetRepeat())
- {
- AddTimer(z, z->GetSecs());
- }
- else
- {
- DELETE(z);
- }
- }
-
- Timers.erase(found);
- DELETE(x);
- }
- }
-
- this->CantDeleteHere = false;