Skip to content

Dxgi factory is still alive after disposal? #359

Discussion options

You must be logged in to vote

This is the code that destroys things in order and gives the expected nil output.

#if DEBUG
        ReportLiveD3d11Objects(DxDevice);
#endif
        DxDevice.Dispose();
        DxFactory.Release();
        DxAdapter.Release();
        DxAdapter.Dispose();
#if DEBUG
        ReportLiveDxgiObjects();

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@amerkoleci
Comment options

@Gavin-Williams
Comment options

@Gavin-Williams
Comment options

@Gavin-Williams
Comment options

Comment options

You must be logged in to vote
2 replies
@amerkoleci
Comment options

@Gavin-Williams
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Gavin-Williams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants