Something dumb in the ordering of destruction

I am facing some Bug of Cuda destruction:https://github.com/pytorch/pytorch/issues/40425
Is there anything related with “dumb in the ordering of destruction”?The
The fbcode setting is meaning what?

Are you running into any issues regarding the order of the handle destructions?
If so, this should be fixed in this PR. Could you install the latest nightly binary and retry it?

If you are not seeing an issue, you could ignore the ifdef as it’s used only in some internal builds, if I’m not mistaken.

Hi @ptrblck, i am very glad to see you reply this.
Have you ever see my question in github?
#40425
Are you sure my question have something to do with #39345?
I am trying #39345 Now.