Add two missing mutex-locks in MetaFileSystem.

See #19272
This commit is contained in:
Henrik Rydgård
2024-09-17 00:19:58 +02:00
parent 6328a4414b
commit b1fae3ccda
2 changed files with 5 additions and 1 deletions
+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...