且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

清除未使用的对象

更新时间:2023-11-18 08:26:58

该对象超出范围,因此,只要不是全局对象,您就不必担心它.
The garbage collector will remove any object when the object goes out of scope, so you don't really need to worry about it, so long as an object that's not global.