Revert file handles bug

This commit is contained in:
Wojtek Figat
2024-05-14 09:03:52 +02:00
parent af08dc1c69
commit 6a883bc7c6

View File

@@ -1336,8 +1336,6 @@ FileReadStream* FlaxStorage::OpenFile()
bool FlaxStorage::CloseFileHandles()
{
if (Platform::AtomicRead(&_chunksLock) == 0)
return false; // Early out
PROFILE_CPU();
// Note: this is usually called by the content manager when this file is not used or on exit