diff options
Diffstat (limited to 'include/salticidae/event.h')
-rw-r--r-- | include/salticidae/event.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/salticidae/event.h b/include/salticidae/event.h index 9b8bea1..78ae12d 100644 --- a/include/salticidae/event.h +++ b/include/salticidae/event.h @@ -305,6 +305,8 @@ class TimedFdEvent: public FdEvent, public TimerEvent { return *this; } + ~TimedFdEvent() { clear(); } + void clear() { TimerEvent::clear(); FdEvent::clear(); |