-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pubsub/explorer: leave the HubRelay channels opened
There are multiple goroutines that send to HubRelay. The WebsocketHub is the receiver, but there are other senders. Closing the channel is not necessary to terminate the run loops. Also, to quit the run loops, Stop() now closes quitWSHandler instead of sending on it. There are NO senders, only a receiver.
- Loading branch information
Showing
2 changed files
with
9 additions
and
25 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