eventloop: don't call lost timers
This commit is contained in:
parent
375e77e398
commit
2bcc8d303f
2 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue