0bbd88bda0
time.After is equivalent to NewTimer(d).C, and does not call Stop if the timer is no longer needed. This can cause memory leaks. This change changes many such occations to use NewTimer instead, and calling Stop once the timer is no longer needed. |
||
---|---|---|
.. | ||
doc.go | ||
generator.go | ||
generator_test.go | ||
matcher.go | ||
matcher_test.go | ||
scheduler.go | ||
scheduler_test.go |