You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows spawn_sync: preserve fail-closed suspended-child startup and handle cleanup #159
Inspection of src/platform_win/sync_spawn.rs found that spawn_sync creates a suspended child before create_job_object()?, ignores the return from ResumeThread, and keeps raw process/thread handles across fallible setup. If job creation fails, the suspended child and handles escape cleanup; if ResumeThread fails, the caller receives a successful but suspended child. A later dup_inheritable failure also needs an ownership audit. The FastLED native viewer currently checks ResumeThread and must not regress when it consumes this shared capability.
Required: establish owned handles immediately, set up the kill-on-close job before creating the child where possible, treat failed resume as an error, and ensure every failure after child creation terminates the child and closes all handles. Add deterministic fault-injection tests for job/setup/resume errors and retain real Windows containment/liveness coverage. Keep the public semantic API unchanged. This issue is a release-consumption prerequisite for the FastLED process slice.
Activity
Fix cleanup on Windows contained process startup failures (#160)