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. |
||
---|---|---|
.. | ||
ethstats.go | ||
ethstats_test.go |