Revert file handles bug
This commit is contained in:
@@ -1336,8 +1336,6 @@ FileReadStream* FlaxStorage::OpenFile()
|
|||||||
|
|
||||||
bool FlaxStorage::CloseFileHandles()
|
bool FlaxStorage::CloseFileHandles()
|
||||||
{
|
{
|
||||||
if (Platform::AtomicRead(&_chunksLock) == 0)
|
|
||||||
return false; // Early out
|
|
||||||
PROFILE_CPU();
|
PROFILE_CPU();
|
||||||
|
|
||||||
// Note: this is usually called by the content manager when this file is not used or on exit
|
// Note: this is usually called by the content manager when this file is not used or on exit
|
||||||
|
|||||||
Reference in New Issue
Block a user