diff options
author | Timo Beckers <timo@incline.eu> | 2022-01-14 14:43:32 +0100 |
---|---|---|
committer | Timo Beckers <timo@incline.eu> | 2022-01-14 14:43:32 +0100 |
commit | 1093ce51e69dcefb2da8f2cbca02f0f8fa11ad40 (patch) | |
tree | a85e9e78db1f96e2f5f66c6f84eb472538fcda02 /CONTRIBUTING.md | |
parent | c625f8b8a179d42ef6acd5b46de044283d0c6552 (diff) |
Run prelock and postlock synchronously to avoid race condition
As reported in issue #285, running postlock in a subshell and immediately
returning from lockselect() has a high chance of hitting `exit 0` before
xset and dunstctl get a chance to execute.
Run both prelock and postlock synchronously within lockselect().
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions