We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b64027 commit 2c5b286Copy full SHA for 2c5b286
1 file changed
lib/screentracker/pty_conversation.go
@@ -181,7 +181,7 @@ func (c *PTYConversation) Start(ctx context.Context) {
181
case msg := <-c.outboundQueue:
182
if msg.errCh != nil {
183
msg.errCh <- ctx.Err()
184
- close(msg.errCh)
+ close(msg.errCh) // help GC
185
}
186
default:
187
return
@@ -200,7 +200,7 @@ func (c *PTYConversation) Start(ctx context.Context) {
200
err := c.sendMessage(ctx, msg.parts...)
201
202
msg.errCh <- err
203
204
205
206
c.cfg.Logger.Error("received stable signal but outbound queue is empty")
0 commit comments