Skip to content

Fix gbrain init --supabase not exiting after completion#17

Closed
changergosum wants to merge 1 commit intogarrytan:masterfrom
changergosum:init-exit
Closed

Fix gbrain init --supabase not exiting after completion#17
changergosum wants to merge 1 commit intogarrytan:masterfrom
changergosum:init-exit

Conversation

@changergosum
Copy link
Copy Markdown
Contributor

@changergosum changergosum commented Apr 10, 2026

The readLine function calls process.stdin.resume() but never pauses it again. This keeps the event loop alive after init completes. This causes gbrain init command to not exit after completing its work.

The readLine function calls process.stdin.resume() but never pauses it again. This keeps the event loop alive after init completes.
@garrytan
Copy link
Copy Markdown
Owner

Included in the community fix wave (PR #38, v0.6.1)! The process.stdin.pause() fix landed exactly as you proposed. Thank you @changergosum! 🙌

@garrytan garrytan closed this Apr 11, 2026
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.

2 participants