Rstein.AsyncCpp icon indicating copy to clipboard operation
Rstein.AsyncCpp copied to clipboard

Should there be a lock_guard before this change of Task _state?

Open lawabider opened this issue 2 years ago • 1 comments

https://github.com/renestein/Rstein.AsyncCpp/blob/613eace161115e67bfb9322d537557c78e3495f2/RStein.AsyncCpp/Detail/Tasks/TaskHelpers.h#L168 I have been trying to trace the cause of some intermittent non-completion of tasks.

lawabider avatar Jun 17 '23 15:06 lawabider

Yes, looks like the bug. The lock guard is missing. I will fix this. Thanks for the report and sorry for the inconvenience.

renestein avatar Jun 18 '23 07:06 renestein