mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 07:31:53 -07:00
eventloop: don't call lost timers
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user