summaryrefslogtreecommitdiff
path: root/src/managers/eventLoop/EventLoopManager.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-05-07 13:30:31 +0100
committerVaxry <vaxry@vaxry.net>2024-05-07 13:30:41 +0100
commit2bcc8d303f889432171c5113af5f2962858099a4 (patch)
treece0e567a9780b60ce3a6f276fc37e76e5cb847b8 /src/managers/eventLoop/EventLoopManager.hpp
parent375e77e398b3d69ca90ed58420b929523576c6ef (diff)
eventloop: don't call lost timers
Diffstat (limited to 'src/managers/eventLoop/EventLoopManager.hpp')
-rw-r--r--src/managers/eventLoop/EventLoopManager.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/eventLoop/EventLoopManager.hpp b/src/managers/eventLoop/EventLoopManager.hpp
index 13d74571..f2ba61a4 100644
--- a/src/managers/eventLoop/EventLoopManager.hpp
+++ b/src/managers/eventLoop/EventLoopManager.hpp
@@ -12,6 +12,8 @@ class CEventLoopManager {
CEventLoopManager();
void enterLoop(wl_display* display, wl_event_loop* wlEventLoop);
+
+ // Note: will remove the timer if the ptr is lost.
void addTimer(SP<CEventLoopTimer> timer);
void removeTimer(SP<CEventLoopTimer> timer);