Repository navigation
fix: prevent CLI from hanging after successful file upload - #93
Merged
Merged
Conversation
Add process.exit(0) after successful paste creation in all upload code paths. Previously, the CLI would output the URL but hang indefinitely, requiring Ctrl+C to terminate. Root cause: Node.js event loop remained active due to open stdin handle and pending async operations, even though the upload was complete. Fixed in three locations: - Send command upload (~line 1230) - Default command encrypted upload (~line 1812) - Default command non-encrypted upload (~line 1887) Resolves hanging behavior reported in feature/preserve-file-extensions testing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
github-actions Bot
added a commit
that referenced
this pull request
Oct 7, 2025
Version bump type: patch PR: #93 Title: fix: prevent CLI from hanging after successful file upload
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add process.exit(0) after successful paste creation in all upload code paths. Previously, the CLI would output the URL but hang indefinitely, requiring Ctrl+C to terminate.
Root cause: Node.js event loop remained active due to open stdin handle and pending async operations, even though the upload was complete.
Fixed in three locations:
Resolves hanging behavior reported in feature/preserve-file-extensions testing.
🤖 Generated with Claude Code