Skip to content

fix: deinit() doesn't work if init() was called twice. - #424

Open
YousafZahid1 wants to merge 1 commit into
tartley:masterfrom
YousafZahid1:gray-memory/fix-issue-145-8b3a6189-a1
Open

fix: deinit() doesn't work if init() was called twice.#424
YousafZahid1 wants to merge 1 commit into
tartley:masterfrom
YousafZahid1:gray-memory/fix-issue-145-8b3a6189-a1

Conversation

@YousafZahid1

@YousafZahid1 YousafZahid1 commented May 31, 2026

Copy link
Copy Markdown

Closes #145

Fix multiple init() calls breaking deinit()

  • Store original stdout/stderr on first init() and reuse on subsequent init() calls
  • Add test case to verify correct behavior

Closes #423

@YousafZahid1
YousafZahid1 marked this pull request as ready for review May 31, 2026 20:37
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.

deinit() doesn't work if init() was called twice.

1 participant