标签云

微信群

扫码加入我们

WeChat QR Code


Oh you like book do you? I've seen the author pop up on stackoverflow from time to time.

2018年12月11日09分18秒

Some .NET objects can also root themselves and become uncollectable. Anything that's IDisposable should be disposed because of this.

2018年12月11日09分18秒

kyoryu : How does an object root itself?

2018年12月11日09分18秒

Andrei: I think a running Thread is perhaps the best example of an object rooting itself. An object that puts a reference to itself in a static non-public location (such as subscribing to a static event, or implementing a singleton by static field initialization) may as well have rooted itself, since there's no obvious way to... um... "uproot" it from its mooring.

2018年12月11日09分18秒

Jeffry this is an unconvential way to describe whats happening and I like it!

2018年12月11日09分18秒