Skip to content

Conversation

@ryoppippi
Copy link

The previous example called reset() immediately after spawning the child process, causing the sandboxed command to fail.

This bug cost me about 3 hours to track down.

The previous example called reset() immediately after spawning the
child process, which would shut down proxy servers before the child
process completes. This caused the sandboxed command to fail.

Move reset() inside the 'exit' event callback to ensure cleanup
happens after the child process terminates.
@ryoppippi ryoppippi force-pushed the ryoppippi/fix-readme-example branch from e055c8a to 0bce87c Compare November 26, 2025 22:43
@ryoppippi ryoppippi changed the title fix(docs): move SandboxManager.reset() inside exit callback Fix README example: move reset() inside exit callback Nov 26, 2025
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