diff --git a/OptiScaler/shaders/Shader_Dx12Utils.h b/OptiScaler/shaders/Shader_Dx12Utils.h index 97ae74b1..5cd83cef 100644 --- a/OptiScaler/shaders/Shader_Dx12Utils.h +++ b/OptiScaler/shaders/Shader_Dx12Utils.h @@ -116,6 +116,12 @@ class FrameDescriptorHeap void ReleaseHeaps() { + // Randomly crashing on release + // For now rely on OS to clean up on exit + // Need to check if it's about they are being use + // Also need to create shaders when they are used to prevent creating heaps when not used + return; + if (heapCSU) heapCSU->Release();