Repository navigation
v1.0.11
Fix: Prevent unnecessary password prompts during sleep/wake
The SMC helper was being killed and relaunched (triggering a password prompt) whenever its data file became temporarily stale — e.g. during display sleep, power nap, or system wake transitions.
Changes
- Raise
checkHelperstaleness threshold from 10s to 120s for alive processes with matching version - Add PID liveness check in
SMCProxyServicebefore declaring helper dead - Tolerate up to 60s of stale data if helper process is still alive
- Ignore
SIGHUPin helper process to prevent unexpected termination - Launch helper with
nohupfor additional signal isolation - Observe
screensDidWakeNotificationfor display wake grace periods