This commit is contained in:
Wojtek Figat
2024-05-15 23:49:46 +02:00
parent 1cd2f6a070
commit 58f95d6ce3

View File

@@ -1337,9 +1337,6 @@ bool FlaxStorage::CloseFileHandles()
{
if (Platform::AtomicRead(&_chunksLock) == 0 && Platform::AtomicRead(&_files) == 0)
{
Array<FileReadStream*, InlinedAllocation<8>> streams;
_file.GetValues(streams);
ASSERT(streams.Count() == 0);
return false;
}
PROFILE_CPU();