Skip to content

fix: PR #2 build-breaking bugs - zip target, JobObjects import, no taskkill on drop - #3

Merged
karan5028ji merged 1 commit into
mainfrom
pr2-fix
Aug 13, 2026
Merged

fix: PR #2 build-breaking bugs - zip target, JobObjects import, no taskkill on drop#3
karan5028ji merged 1 commit into
mainfrom
pr2-fix

Conversation

@karan5028ji

@karan5028ji karan5028ji commented Aug 13, 2026

Copy link
Copy Markdown
Owner

PR #2 left 3 build-breaking bugs in its wake:

  1. Invalid "zip" bundle targetzip is not a valid Tauri bundle target, so the custom build command fails (exit code 1).
  2. Wrong windows-sys module importAssignProcessToJobObject / CreateJobObjectW / SetInformationJobObject were imported from Threading; they live in JobObjects. Compile error.
  3. Managed::drop ran kill() (taskkill) on natural completion — even after the child exited cleanly, the whole tree was killed, racing the parent's buffered stdout flush (dropping output) and reaping Start-Process children that are meant to outlive the run. Now Drop only closes the job handle (KILL_ON_JOB_CLOSE); taskkill never runs.

Verified: cargo check with 0 warnings/errors, cargo test 1 passed.

@karan5028ji
karan5028ji merged commit 8ac046b into main Aug 13, 2026
@karan5028ji
karan5028ji deleted the pr2-fix branch August 13, 2026 10:03
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