| d8f2b0dd5ac08b7e9256df9f92b204b33c7f9f69 |
|
23-Jul-2011 |
Satyen Desai <sdesai@yahoo-inc.com> |
Added support for destroy(true) to Widget, which will remove and
destroy all child nodes (not just the boundingBox and contentBox)
contained within the Widget's boundingBox in order to help control
Node cache size over long-running applications.
destroy() will maintain it's current behavior due to the potentially
high run-time cost of destroying all child nodes.
Widget developers still need to continue with the best practice
of destroying explicit node references they create, in their
destructors to support the destroy() case.
If you destroy Widgets in your application or are a custom widget
developer, your help in testing this change before release is much
appreciated.
Fixes #2530444 |