Route device-loss cleanup through FrameGen helper

This commit is contained in:
LunaDL committed 2026-11-27 13:19:50 -04:00
1 parent 995aea5740
commit 992f251a6b
1 file changed
+1 -1
+1 -1
View File
@@ -245,7 +245,7 @@ void FrameGen::destroy() {
// A lost device cannot become idle again. Still explicitly destroy its
// child objects; skip descriptor-pool reset and release scratch ownership.
DDFG_LOGE("framegen destroy: device lost; releasing owned resources without waiting");
destroyScratch(dd_, device_, descPool_, false);
destroyScratchResources(false);
} else {
destroyScratchResources();
}