Fix comment for UserOnCloseWait.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
This commit is contained in:
parent
05e0d07d83
commit
8ca4110ebc
@ -286,7 +286,7 @@ func (c *Client) Close() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// UserOnCloseWait is used to blocks untils the user's on-close callback
|
// UserOnCloseWait is used to block until the user's on-close callback
|
||||||
// finishes.
|
// finishes.
|
||||||
func (c *Client) UserOnCloseWait(ctx context.Context) error {
|
func (c *Client) UserOnCloseWait(ctx context.Context) error {
|
||||||
select {
|
select {
|
||||||
|
Loading…
Reference in New Issue
Block a user