Under the hood
Startup now runs full cleanup before exiting on an invalid security dialog state
What
If the startup security dialog reports an invalid state, Claude Code now waits for two cleanup routines to finish before exiting, instead of exiting immediately right after showing the error message.
Why
This avoids leaving things in an inconsistent state (such as unclosed resources) when startup fails at this particular check.