From 2bcc8d303f889432171c5113af5f2962858099a4 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 7 May 2024 13:30:31 +0100 Subject: eventloop: don't call lost timers --- src/managers/eventLoop/EventLoopManager.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/managers/eventLoop/EventLoopManager.hpp') 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 timer); void removeTimer(SP timer); -- cgit v1.2.3