Skip to content

Commit

Permalink
fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
andrebires committed Jan 26, 2022
1 parent ab4148e commit b0ce057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ func receiveFromTransport(ctx context.Context, c *channel, done chan<- struct{})
case <-ctx.Done():
return
case c.inSesChan <- e:
// If a session was received while established,
// the listener should be ended
// If a session is received while established,
// the receiver goroutine can stop.
return
}
default:
Expand Down

0 comments on commit b0ce057

Please sign in to comment.