Unreleased references. #294
-
I've removed any rendering code and so I'm just looking at my core graphics shutdown. Heres' the shutdown code (I think it's based on what's in the samples)..
If I just run the app and shut it down with the window-close-button I get the following output..
But if I set a breakpoint on the line, giving the app a moments pause and then allow the app to continue and complete. I get the following output..
It seems like some reference is taking some time to release. Notice that I'm not getting the usual live objects output, so what does this mean? And should I care? I don't like seeing it there, because usually if I don't address these things early it just becomes more difficult later to track down unreleased resources. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Strange, you can take look at example here: I have 0 unreleased referenced, I would suggest to copy code from there, make sure to enable native debugging as well. |
Beta Was this translation helpful? Give feedback.
Strange, you can take look at example here:
https://github.com/amerkoleci/Vortice.Windows/tree/main/src/samples/HelloDirect3D11
I have 0 unreleased referenced, I would suggest to copy code from there, make sure to enable native debugging as well.