-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Client responsible for closing its conn
Prior to this, closing client connections was done in a separate step outside of `client.Close()`. However it makes sense to move this responsibility to Client, the higher-level abstraction that already contains conn in its internal state. This change does not alter the actual closing sequence: consumers/producers are closed first and then the client connection. Closes #36.
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
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