| Summary: | [Scripting] Memory leak in client scripting | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Tim Buschtoens <tbuschto> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mknauer, tbuschto |
| Version: | 3.0 | ||
| Target Milestone: | 3.1 M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://git.eclipse.org/r/#/c/59386/ | ||
| Whiteboard: | SR302 | ||
|
Description
Tim Buschtoens
Fixed by switching to the "dispose" event in commit 51b55395aa62b951d2375641d7f57cdad203ea04 There is probably still a leak: The dispose event does not remove the listener wrapper in EventBinding.js. That wrapper uses a closure, so there is a risk that more than just the wrapper itself leaking. The second leak was closed for good with commit c1abd23021bc34c16d53e1fd717a8aaea9621654. The wrapper function are now stored in the widget, so they will be collected once the widget is properly disposed. Backported to 3.0-maintenance branch with change https://git.eclipse.org/r/#/c/64961/ and https://git.eclipse.org/r/#/c/64962/ |