Skip to content

Conversation

PotatoOfDoom
Copy link
Collaborator

I have to start somewhere...

@PotatoOfDoom PotatoOfDoom self-assigned this May 27, 2025
XeSSFeatureDx12::~XeSSFeatureDx12() {}
XeSSFeatureDx12::~XeSSFeatureDx12()
{
if (_localPipeline != nullptr)
Copy link

@mporsch mporsch Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use unique_ptr with a custom deleter like https://github.com/mporsch/sockpuppet/blob/master/src/socket_tls_impl.h#L24-L28

-edit: nevermind; this approach can get its own PR #543

State::Instance().skipHeapCapture = true;

ID3D12Device1* device1;
if (FAILED(device->QueryInterface(IID_PPV_ARGS(&device1))))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the use case for out_ptr which should be available in VS2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants