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_test.go | ||
generator.go | ||
matcher_test.go | ||
matcher.go | ||
scheduler_test.go | ||
scheduler.go |