Metadata
- Source
- FLUID-4257
- Type
- New Feature
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Antranig Basman
- Reporter
- Antranig Basman
- Created
2011-05-19T02:35:41.392-0400 - Updated
2014-03-03T13:07:26.150-0500 - Versions
-
- 1.4
- Fixed Versions
-
- 1.5
- Component
-
- Framework
- IoC System
Description
Although such resources are generally rare on the client-side, it is necessary to supply an optional lifecycle endpoint on the "destruction" of a component to allow such resources to be freed. For example the image gallery uploader app https://github.com/colinbdclark/image-gallery/blob/0b4138369b78bda2f160d817194e9b8a17c32d6a/js/uploader.js reveals that the SWF Uploader implementation requires cleanup of some flash gubbins at the end of its life.
IoC should operate this lifecycle point automatically on applying "clearComponent" as well as its being surfaced as a conventional method "destroy()"
Comments
-
Michelle D'Souza commented
2012-08-22T14:30:15.467-0400 Merged into project repo at f7dbbdfec8e3e47dc0a97299da89066f8bbc5d0c