diff options
author | Determinant <ted.sybil@gmail.com> | 2019-06-29 14:13:59 -0400 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-06-29 14:13:59 -0400 |
commit | 54f5abf3d4dac9cdf04846d5b952799c31753c9d (patch) | |
tree | 77c4c004a5d72fc59e8a2a433aef086893a51c0a /include/salticidae/event.h | |
parent | 8d242e0112c7f9072600a48366ebbd6ce7b5c727 (diff) |
...
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(); |