Use WithoutCancel
This commit is contained in:
parent
2cee60c040
commit
e29c3180b9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue