Fixes bugs found by Sonarcloud and Coverity

This commit is contained in:
qarmin 2020-03-02 19:17:20 +01:00
parent 0c22f5a447
commit 1f209bfc41
10 changed files with 25 additions and 13 deletions

View file

@ -538,6 +538,7 @@ RES ResourceLoader::load(const String &p_path, const String &p_type_hint, bool p
if (r_error) {
*r_error = err;
}
thread_load_mutex->unlock();
return RES();
}
thread_load_mutex->unlock();