summaryrefslogtreecommitdiff
path: root/src/common/cache_management.cpp
diff options
context:
space:
mode:
authorSalvage <29021710+Saalvage@users.noreply.github.com>2022-12-09 13:41:04 +0100
committerSalvage <29021710+Saalvage@users.noreply.github.com>2022-12-09 16:39:59 +0100
commitc586ac9be2edea86889b44d44cede599a0c4dba5 (patch)
tree1f6426d0fa21acd1eaacd42ecbc130d002591b6a /src/common/cache_management.cpp
parent41461514d6f3ba59dc027dbc4a88c0ffb570ea49 (diff)
Remove the lock entirely as per PR discussion
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 comment
Diffstat (limited to 'src/common/cache_management.cpp')
0 files changed, 0 insertions, 0 deletions