Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alixander committed Mar 18, 2023
1 parent 9eba007 commit 9666485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/background/background.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "time"
func DoEveryX(do func(), x time.Duration) (kill func()) {
stopped := false
t := time.NewTicker(x)
stop := make(chan struct{}, 1)
stop := make(chan struct{})

go func() {
for {
Expand Down

0 comments on commit 9666485

Please sign in to comment.