diff options
Diffstat (limited to 'base/timer.h')
-rw-r--r-- | base/timer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/timer.h b/base/timer.h index a78af31..68fcf05 100644 --- a/base/timer.h +++ b/base/timer.h @@ -326,6 +326,7 @@ class BaseTimer : public BaseTimer_Helper { if (!timer_) // timer_ is null if we were orphaned. return; BaseTimer<Receiver>* self = static_cast<BaseTimer<Receiver>*>(timer_); + self->delayed_task_ = NULL; if (self->repeating_) self->Reset(); DispatchToMethod(self->receiver_, self->receiver_method_, Tuple0()); |