Fixes bugs found by Sonarcloud and Coverity
This commit is contained in:
parent
0c22f5a447
commit
1f209bfc41
10 changed files with 25 additions and 13 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue