-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dot/network): remove
defer cancel()
inside loop (#2248)
* feat: remove context create in a for loop * chore: fix the for loop condition * chore: rename time.Timer to timer * chore: stop and drain timer channel
- Loading branch information
1 parent
e816e31
commit 9e360a5
Showing
1 changed file
with
54 additions
and
35 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