在创作池时需要实现的最重要的功能之一是适当的对象生存期策略。
One of the most important things to implement when authoring a pool is a suitable object lifetime policy.
其次,较新的对象生存期较短,而较旧的对象生存期则较长。
Secondly, newer objects will have shorter lifetimes and older objects will have longer lifetimes.
这包括控件对象生存期行为,特别是对所描述的内存泄漏问题的处理。
This includes the control object lifetime behavior, in particular the handling of the described memory leak problem.
应用推荐