void CPjTimerEntry::RunL() { --timer_heap_->cur_size; entry_->_timer_id = NULL; entry_->cb(timer_heap_, entry_); // Finger's crossed! delete this; }
void CPjTimerEntry::RunL() { if (interval_left_ > 0) { Schedule(); return; } remove_entry(timer_heap_, this); entry_->cb(timer_heap_, entry_); // Finger's crossed! delete this; }