VividCortex/gohistogram

Got panic under unknown circumstances

gaplyk opened this issue · 1 comments

When I'm using numeric histograms in different goroutines getting panic from time to time:
runtime error: index out of range

Panic is here:
github.com/VividCortex/gohistogram/numerichistogram.go:124

When I'm using numeric histograms in different goroutines

This package isn't goroutine safe. Please use a mutex :). Let me know if you have any questions.