Community
Participate
Working Groups
Bogdan, I'm not sure why you commented the lines in GradientBackgroundListener where we are disposing the old resource. Too me this looks like a severe ResourceLeak.
The change was introduced with the commit for bug 314157. Can you clarify why you are not disposing of the old image?
I noticed this last night also.
Bogdan? Should we revert this change?
The code was wrong as it was disposing images that it might have not created (as in the case of inheriting a background image from a parent). I have new code that keeps track of images created by the gradient listener and disposes of them at the proper time. (I checked for resource leaks and with the new code we're down to some jdt editor colors and the view menu image used by the stack renderer which Eric knows about).
Fixed in HEAD > 20100618