mirror of
https://github.com/derfenix/webarchive.git
synced 2026-03-11 22:40:58 +03:00
Cleanup
This commit is contained in:
@@ -27,9 +27,7 @@ func (r *Results) UnmarshalMsgpack(b []byte) error {
|
|||||||
|
|
||||||
func (r *Results) Add(result Result) {
|
func (r *Results) Add(result Result) {
|
||||||
r.mu.Lock()
|
r.mu.Lock()
|
||||||
results := r.results
|
r.results = append(r.results, result)
|
||||||
results = append(results, result)
|
|
||||||
r.results = results
|
|
||||||
r.mu.Unlock()
|
r.mu.Unlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user