Skip to content

Commit

Permalink
Merge pull request #61976 from atlassian/ticker-with-stop
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Stop() for Ticker to enable leak-free code

**What this PR does / why we need it**:
I wanted to use the clock package but the `Ticker` without a `Stop()` method is a deal breaker for me.

**Release note**:
```release-note
NONE
```
/kind enhancement
/sig api-machinery

Kubernetes-commit: d42df4561a6c754120e9b46b37c032a57ca92a9a
  • Loading branch information
k8s-publishing-bot committed May 10, 2018
2 parents 9cabba1 + 9446f4e commit 638bb43
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 86 deletions.
158 changes: 79 additions & 79 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 638bb43

Please sign in to comment.