Use WithoutCancel

This commit is contained in:
Daniel Ponte 2024-10-21 14:04:50 -04:00
parent 2cee60c040
commit e29c3180b9

View file

@ -115,7 +115,7 @@ func (conn *wsConn) readPump(ctx context.Context, reg Registry, c Client) {
break
}
go c.HandleMessage(ctx, message)
go c.HandleMessage(context.WithoutCancel(ctx), message)
}
}