diff --git a/Source/Engine/Content/Storage/FlaxStorage.cpp b/Source/Engine/Content/Storage/FlaxStorage.cpp index 26816a026..74b114f52 100644 --- a/Source/Engine/Content/Storage/FlaxStorage.cpp +++ b/Source/Engine/Content/Storage/FlaxStorage.cpp @@ -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