eventloop: don't call lost timers

This commit is contained in:
Vaxry
2024-05-07 13:30:31 +01:00
parent 375e77e398
commit 2bcc8d303f
2 changed files with 5 additions and 1 deletions

View File

@@ -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);