History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-3868
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: -- --
Assignee: Max Carlson
Reporter: André Bargull
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Fix memory leak for images in DHTML runtime

Created: 12/Apr/07 12:08 PM   Updated: 27/Sep/07 08:56 AM
Component/s: Kernel - DHTML
Affects Version/s: 4.0.0
Fix Version/s: RingDing (4.1)

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive lzutils_callback.zip (14 kb)


Severity: Minor
Fixed in Change#: 4,739
Runtime: N/A
Flags: External
Fix in hand: False


 Description  « Hide
Was: Clean up for "LzUtils" or nullify more attributes after destroying a view.

Callbacks made through the "LzUtils.callback"-mechanism lead to possible memory-leaks, as there is no clean-up and therefore you can easily resurrect i.e. <img> from memory (as shown in the attached testcase).

Two proposals:
1. nullify more attributes after destroying a view (and sprite) to delete memory-consuming references
2. install a "clean-up"-mechanism for "LzUtils.callback"



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.