Skip to content

fix(state): add missing child.deinit() in runProcessInherit#171

Merged
gHashTag merged 1 commit into
mainfrom
feat/issue-165
Mar 11, 2026
Merged

fix(state): add missing child.deinit() in runProcessInherit#171
gHashTag merged 1 commit into
mainfrom
feat/issue-165

Conversation

@gHashTag
Copy link
Copy Markdown
Owner

Summary

Changes

  • src/tri/tri_state.zig: Added defer child.deinit(); on line 36

Test plan

  • zig fmt passes on modified file
  • Full build passes (pre-existing issues in other files)

Closes #165

🤖 Generated with Claude Code

Process resources were leaking due to missing deinit() call after
std.process.Child.init(). Added defer child.deinit() to ensure
proper cleanup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gHashTag gHashTag merged commit 44eeb8f into main Mar 11, 2026
5 of 6 checks passed
gHashTag pushed a commit that referenced this pull request Mar 11, 2026
…ig 0.15.2

PRs #171 and #172 added child.deinit() calls, but std.process.Child
doesn't have a deinit method. Builds locally due to lazy evaluation
but fails CI when tri-api is compiled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
gHashTag added a commit that referenced this pull request Mar 18, 2026
fix(state): add missing child.deinit() in runProcessInherit
gHashTag pushed a commit that referenced this pull request Mar 18, 2026
…ig 0.15.2

PRs #171 and #172 added child.deinit() calls, but std.process.Child
doesn't have a deinit method. Builds locally due to lazy evaluation
but fails CI when tri-api is compiled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gHashTag gHashTag deleted the feat/issue-165 branch April 3, 2026 10:59
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.

fix(state): add missing child.deinit() in tri_state.zig runProcessInherit

1 participant