SharpGen.Runtime.ComObject.Release #338
Unanswered
Gavin-Williams
asked this question in
Q&A
Replies: 1 comment
-
During debug you can call Release and check refCount of device and report leaks, or you can use DXGIGetDebugInterface1 as well, take look here: During NON Debug build you can just Dispose objects. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I call SharpGen.Runtime.ComObject.Release with..
Does that give all live objects on the device. That's the way I've been using it, but I just wanted to check because I'm going over my shutdown code and I want to be sure I understand it.
Edit: Actually, all I'm doing here is checking if the device itself has a reference count aren't I ?
Edit 2: Actually, I don't know if I should be calling this where I do because I may be skipping my live objects reporting and device disposal. Can someone just comment on this please?
Beta Was this translation helpful? Give feedback.
All reactions