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

Bug 19336

Summary: [View Mgmt] Leak: Closed fast view is not GCed.
Product: [Eclipse Project] Platform Reporter: Eduardo Pereira <eduardo_pereira>
Component: UIAssignee: Stefan Xenos <sxenos>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Eduardo Pereira CLA 2002-06-05 10:56:06 EDT
Build F2

Run Eclipse with OptimizeIt.
See the number of ResourceNavigator(s). Should be 1.
Make it a fast view.
Close it.
GC.
There are lots of references to ResourceNavigator.

Tryied to change Perspective.hideView(IViewPart view) adding
  if(previousActiveFastView == view)
	previousActiveFastView = null;

but it was not enough to fix the problem.
Comment 1 Nick Edgar CLA 2002-06-05 11:24:20 EDT
This area is too risky to change for 2.0.
Comment 2 Nick Edgar CLA 2002-06-05 11:24:59 EDT
The perspective will only hang onto one view after it has been disposed, not 
each fast view.
Comment 3 Stefan Xenos CLA 2005-04-04 17:58:53 EDT
Fixed in head.
Comment 4 Stefan Xenos CLA 2005-05-10 17:46:13 EDT
Verified in I20050510-0010

The resource navigator is still leaking due to bug 94547, but the fast view
issues are fixed (tested with the call hierarchy view)