Add two missing mutex-locks in MetaFileSystem.

See #19272
This commit is contained in:
Henrik Rydgård committed 2024-09-17 00:19:58 +02:00
1 parent 6328a4414b
commit b1fae3ccda
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -43,8 +43,9 @@ private:
currentDir_t currentDir;
std::string startingDirectory;
std::recursive_mutex lock; // must be recursive
std::recursive_mutex lock; // must be recursive. TODO: fix that
// Assumes the lock is held
void Reset() {
// This used to be 6, probably an attempt to replicate PSP handles.
// However, that's an artifact of using psplink anyway...