echoserver: prevent fallthrough when Accept() fails

This commit is contained in:
Nikolay Edigaryev 2026-01-27 22:24:41 +01:00
parent 409af43fbb
commit d96c7f3474
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ func (echoServer *EchoServer) Run(ctx context.Context) error {
if errors.Is(err, net.ErrClosed) {
return nil
}
return err
}
group.Go(func() error {