Skip to content

Commit

Permalink
removing goroutine leak (GoogleContainerTools#1871)
Browse files Browse the repository at this point in the history
  • Loading branch information
balopat authored and ottonello committed Mar 23, 2019
1 parent e61a181 commit 8526f08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/skaffold/watch/triggers.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func (t *pollTrigger) Start(ctx context.Context) (<-chan bool, error) {
trigger <- true
case <-ctx.Done():
ticker.Stop()
return
}
}
}()
Expand Down

0 comments on commit 8526f08

Please sign in to comment.