This commit is contained in:
2023-03-28 21:08:08 +03:00
parent 8d2af4ad65
commit 5f6781322b

View File

@@ -27,9 +27,7 @@ func (r *Results) UnmarshalMsgpack(b []byte) error {
func (r *Results) Add(result Result) {
r.mu.Lock()
results := r.results
results = append(results, result)
r.results = results
r.results = append(r.results, result)
r.mu.Unlock()
}