fix(gpu): skip system Vulkan pruning when the runtime pack is absent (#2316)

fix: skip pruning system Vulkan runtimes when the runtime pack is not installed
This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-11-08 22:07:39 -05:00
1 parent bf95a40e3e
commit 92a7124589
2 files changed
+27

No files matched your search

@@ -191,6 +191,7 @@ public final class SystemVulkanDriver {
/** Collect abandoned stages, and obsolete versions once older guests can no longer load them. */
public static synchronized void pruneUnused(Context context, boolean guestsStopped) throws IOException {
if (!AddonPack.POWERVR.installed(context)) return;
pruneUnused(runtimeDirectory(context), guestsStopped);
}