问题
Does WinRT have Garbage Collection?
Or does it do reference counting as does COM?
回答1:
I found this article, which cites Microsoft's Martyn Lovell:
"WinRT objects are reference counted like COM for memory management, with weak references to avoid circularity."
Apparently this was mentioned at his talk on WinRT internals at the BUILD convention.
来源:https://stackoverflow.com/questions/7424710/does-winrt-have-garbage-collection