Fix use-after-free of `ConditionVariable` in `ResourceLoader`
FileAccess::exists
-Wmaybe-uninitialized