Skip to content

chore: bump shpool_pty to 0.4.0#349

Open
ethanpailes wants to merge 1 commit intomasterfrom
bump-shpool-pty
Open

chore: bump shpool_pty to 0.4.0#349
ethanpailes wants to merge 1 commit intomasterfrom
bump-shpool-pty

Conversation

@ethanpailes
Copy link
Copy Markdown
Contributor

Issue Link

I realized this was an issue while working on #348

AI Policy Ack

Ack, all meat coded.

Description

This patch bumps the shpool_pty crate version to pick up some soundness fixes. I noticed that it's resource management was unsound when I realized that it both allowed cloning and did not use reference counting, so I fixed that.

I think the only reason this wasn't burning us before was that the lifetime for the Fork object was outliving all the Master and Slave objects pulled off of it (either that or we were just not cleaning up resources at all).

This patch bumps the shpool_pty crate version to pick
up some soundness fixes. I noticed that it's resource
management was unsound when I realized that it both allowed
cloning and did not use reference counting, so I fixed that.

I think the only reason this wasn't burning us before was that
the lifetime for the Fork object was outliving all the Master
and Slave objects pulled off of it (either that or we were just
not cleaning up resources at all).
@ethanpailes ethanpailes requested a review from maxhbooth April 24, 2026 22:20
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