mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-09 15:57:59 +01:00
fix: the bugs and vulnerabilities SonarCloud reports on PR #216
This commit is contained in:
@@ -340,7 +340,14 @@ std::string shader_library::info() const
|
||||
|
||||
pipeline_library::~pipeline_library()
|
||||
{
|
||||
shutdown();
|
||||
try
|
||||
{
|
||||
shutdown();
|
||||
}
|
||||
catch (std::exception const &)
|
||||
{
|
||||
// writing the pipeline cache failed on the way out: the cache is only rebuilt next time, which beats terminating
|
||||
}
|
||||
}
|
||||
|
||||
bool pipeline_library::init(device const &Device, std::string &Reason)
|
||||
|
||||
Reference in New Issue
Block a user