fix(generic.go): add defer to ApproximateMovingAverage mutext
Currently there is a `h.mtx.RLock()` following by `h.mtx.RUnlock()`, the unlock should be a defer `defer h.mtx.RUnlock()`
mishudark authored 7 years ago
GitHub committed 7 years ago