mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 20:45:43 +00:00
Route device-loss cleanup through FrameGen helper
This commit is contained in:
1 parent
995aea5740
commit
992f251a6b
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user