db2347a86c
This PR replaces use of time.After with a safe helper function that creates a time.Timer to use instead. The new function returns both a time.Timer and a Stop function that the caller must handle. Unlike time.NewTimer, the helper function does not panic if the duration set is <= 0.
4 lines
63 B
Plaintext
4 lines
63 B
Plaintext
```release-note:bug
|
|
cleanup: prevent leaks from time.After
|
|
```
|