Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359065

Summary: UIProcessRidget does not remove ContextUpdateListener properly
Product: [RT] Riena Reporter: Jürgen Becker <juergen.becker>
Component: ridgetAssignee: Jürgen Becker <juergen.becker>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nobody
Version: 4.0.0   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch for memory leak in UIProcessRidget christian.campo: iplog+

Description Jürgen Becker CLA 2011-09-27 09:40:06 EDT
Created attachment 204077 [details]
Patch for memory leak in UIProcessRidget

The method addProgressVisualizer(...) adds a ContextUpdateListener to the contextLocator. The antagonist removeProgressVisualizer(...) does not remove the listener. This causes a memory leak.
Comment 1 Nobody - feel free to take it CLA 2011-10-13 02:34:07 EDT
Unregistered the contextUpdateListener in removeProgressVisualizer() to avoid memory leaks.