Skip to content

Remove reset flag on check method

Removed reset flag logic from check method.

It was necessary to avoid that multiple threads check isStopRequested() at the same time, and one thread might reset the flag while others haven't seen it yet. This can lead to race conditions, where some threads miss the stop signal.

Merge request reports

Loading