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

Bug 58203

Summary: Leak from ProgressManager.runnableMonitors
Product: [Eclipse Project] Platform Reporter: Darin Swanson <Darin_Swanson>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P2 CC: michaelvanmeekeren
Version: 3.0   
Target Milestone: 3.0 M9   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Darin Swanson CLA 2004-04-12 17:01:28 EDT
ProgressManager and its static var runnableMonitor cause many objects to be 
leaked.

On line 438 of ProgressManager, the JobMonitor is stored in the map with a key 
of the job.
The only remove that occurs is on line 175 but the key that is used to remove 
is the JobManager instance and not the job.

I believe line 175 should be changed to:
runnableMonitors.remove(job)
Comment 1 Tod Creasey CLA 2004-04-13 08:12:29 EDT
Well spotted Darin - thanks. Fix released.