Browse Source
Correctly unlock mutex before its destruction As per https://en.cppreference.com/w/cpp/thread/mutex/~mutex destroying a locked mutex is undefined behavior and MSVC++ decides to throw in this case Swap out unique for scoped lock and readd commentnce_cpp
1 changed files with 0 additions and 3 deletions
Loading…
Reference in new issue