-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix context cancelled error after client close
No longer set client error from the receiver goroutine when the client context is closed. The client context is cancelled when the client is closed, so the receiver goroutine can stop handling messages. The client error will be set the next dispatch. Signed-off-by: Austin Vazquez <[email protected]>
- Loading branch information
1 parent
20c493e
commit d2a448c
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters