Skip to content
Commit d3e89f16 authored by Alexander Narsudinov's avatar Alexander Narsudinov
Browse files

Use atomics to make writing of results safe in `removeObjectsOneByOne`

Previous implementation didn't have any synchronization mechanism for
goroutines that does the work.

There are multiple approaches to make it work correctly, let's start with
the simplest - atomics.
parent da3638eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment