mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-06-07 15:14:58 -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)
|
if (deviceName.find("RADV") != std::string_view::npos)
|
||||||
{
|
{
|
||||||
write(subProcessPipes[1], &prop.driverVersion, sizeof(uint32_t));
|
write(subProcessPipes[1], &prop.driverVersion, sizeof(uint32_t));
|
||||||
|
vkDestroyInstance(instance, nullptr);
|
||||||
_exit(0);
|
_exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// no appropriate device found to query version
|
// no appropriate device found to query version
|
||||||
|
vkDestroyInstance(instance, nullptr);
|
||||||
_exit(1);
|
_exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user