-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't hotloop on channel source closure
Previously, when we received from the channel in a channel source, we didn't check if it was still open. This lead to hotlooping and spamming the source's handler/queue when the input channel is closed. Now, we stop the source when the channel is closed, similarly to what happens if the context is closed.
- Loading branch information
1 parent
9e78e65
commit 3b9d201
Showing
2 changed files
with
51 additions
and
2 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