aboutsummaryrefslogtreecommitdiff
path: root/include/salticidae/event.h
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-06-29 14:13:59 -0400
committerDeterminant <ted.sybil@gmail.com>2019-06-29 14:13:59 -0400
commit54f5abf3d4dac9cdf04846d5b952799c31753c9d (patch)
tree77c4c004a5d72fc59e8a2a433aef086893a51c0a /include/salticidae/event.h
parent8d242e0112c7f9072600a48366ebbd6ce7b5c727 (diff)
...
Diffstat (limited to 'include/salticidae/event.h')
-rw-r--r--include/salticidae/event.h2
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();