Skip to content
Commit 0dfefa03 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

daemon: Fix wakeup removal not rescheduling the timerfd wakeup

BUG: 464251

Fixes wakeup removal for the current event from sometimes not rescheduling the timerfd wakeup for the next event, causing the current event to trigger for another cookie.

This happens because error checking condition was invalid; events can get removed from the middle of the list as well.

We experienced this issue in kclock, which can be read about here: https://bugs.kde.org/show_bug.cgi?id=464251

Fix
parent 23da34ac
Pipeline #310470 passed with stage
in 4 minutes and 32 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment