Closed NewProggie closed 4 years ago
This commit fixes a bug where the lock guard (for concurrently accessing the same scope from different threads) had basically no effect, due to being bound to a temporary only.
@fanatid Could you look at this?
I had never read code of this project, but this changes looks reasonable. Object should be created on stack for locking.
Sounds good.
This commit fixes a bug where the lock guard (for concurrently accessing the same scope from different threads) had basically no effect, due to being bound to a temporary only.