Skip to content

Commit

Permalink
Rewrite comment in code (#248)
Browse files Browse the repository at this point in the history
Thanks to @jirwin for the clarification
  • Loading branch information
shackra authored Oct 30, 2024
1 parent 9524198 commit de1f00d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/cli/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,9 @@ func MakeGRPCServerCommand(
return err
}

// NOTE (shackra): I don't understand this goroutine
// Avoid zombie processes. If the parent dies, this
// will cause Stdin on the child to close, and then
// the child will exit itself.
go func() {
in := make([]byte, 1)
_, err := os.Stdin.Read(in)
Expand Down

0 comments on commit de1f00d

Please sign in to comment.