mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-09 01:42:59 -06:00
Destroy instance before child exit
This commit is contained in:
parent
0cc843b7ea
commit
62d46a6295
@ -381,11 +381,13 @@ void PerformBOTWLinuxWorkaround(int subProcessPipes[2])
|
||||
if (deviceName.find("RADV") != std::string_view::npos)
|
||||
{
|
||||
write(subProcessPipes[1], &prop.driverVersion, sizeof(uint32_t));
|
||||
vkDestroyInstance(instance, nullptr);
|
||||
_exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
// no appropriate device found to query version
|
||||
vkDestroyInstance(instance, nullptr);
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user