fixed Windows build for networking branch

This commit is contained in:
2026-07-14 10:54:43 -07:00
parent 21e2add09a
commit 43b9d829c8
7 changed files with 19 additions and 15 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ private:
public:
// Made public and non-static so we can have a cache for input and output files
RegionFileCache() { InitializeCriticalSectionAndSpinCount(&m_cs, 4000); }
~RegionFileCache() { DeleteCriticalSection(&m_cs); }
~RegionFileCache() { _clear(); DeleteCriticalSection(&m_cs); }
RegionFile *_getRegionFile(ConsoleSaveFile *saveFile, const wstring &prefix, int chunkX, int chunkZ); // 4J - TODO was synchronized
void _clear(); // 4J - TODO was synchronized