mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-05 05:42:18 +00:00
Remove unnecessary exception handling. Hopefully fixes build on linux.
This commit is contained in:
parent
0d98efadc4
commit
8da8b5462b
4 changed files with 116 additions and 144 deletions
|
@ -3956,15 +3956,8 @@ void Core::clearResources()
|
|||
{
|
||||
deletedResources.push_back (resources[i]);
|
||||
Resource *r = resources[i];
|
||||
try
|
||||
{
|
||||
r->destroy();
|
||||
delete r;
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
errorLog("Resource could not be deleted " + resourceNames[i]);
|
||||
}
|
||||
r->destroy();
|
||||
delete r;
|
||||
}
|
||||
}
|
||||
resourceNames.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue