Skip to content

Ping kernel on system wake and refresh renderer state#204

Merged
matt-pharr merged 1 commit intodevelopfrom
safe-reconnect
Apr 21, 2026
Merged

Ping kernel on system wake and refresh renderer state#204
matt-pharr merged 1 commit intodevelopfrom
safe-reconnect

Conversation

@matt-pharr
Copy link
Copy Markdown
Owner

After macOS sleep/wake, the kernel process usually survives but the renderer's cached tree and namespace state may be stale. Register a powerMonitor 'resume' handler that pings the active kernel and, if alive, sends a kernelReconnected push so the renderer re-fetches. Addresses #201 maybe?

After macOS sleep/wake, the kernel process usually survives but the
renderer's cached tree and namespace state may be stale. Register a
powerMonitor 'resume' handler that pings the active kernel and, if
alive, sends a kernelReconnected push so the renderer re-fetches.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@matt-pharr matt-pharr merged commit 43b03ca into develop Apr 21, 2026
4 checks passed
@matt-pharr matt-pharr deleted the safe-reconnect branch April 21, 2026 03:01
This was referenced Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant