Fix panic when a handler triggers handler scheduling #21
Reference in New Issue
Block a user
Delete Branch "trurl/wmaker:refactor/riir.fix_trigger_scheduling_mutex"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Committing after cursory review and smoke testing because this fixes an obvious panic.