Fix panic when a handler triggers handler scheduling #21

Merged
trurl merged 1 commits from trurl/wmaker:refactor/riir.fix_trigger_scheduling_mutex into refactor/riir 2026-03-07 21:22:11 -05:00
Owner

This is basically the same fix as #18, but for timer handlers. Turns out that we do actually have some timer callbacks which register other timer callbacks. As a result, holding the global handler mutex while running timer handlers leads to badness when a timer handler wants to schedule another timer.

This is basically the same fix as https://git.sdf.org/vitrine/wmaker/pulls/18, but for timer handlers. Turns out that we do actually have some timer callbacks which register other timer callbacks. As a result, holding the global handler mutex while running timer handlers leads to badness when a timer handler wants to schedule another timer.
trurl added 1 commit 2026-03-07 21:21:38 -05:00
Author
Owner

Committing after cursory review and smoke testing because this fixes an obvious panic.

Committing after cursory review and smoke testing because this fixes an obvious panic.
trurl merged commit 32cf67b012 into refactor/riir 2026-03-07 21:22:11 -05:00
trurl deleted branch refactor/riir.fix_trigger_scheduling_mutex 2026-03-07 21:22:12 -05:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vitrine/wmaker#21