Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 264519 - [ActivityMgmt] Pref page activity manager listener not detached
Summary: [ActivityMgmt] Pref page activity manager listener not detached
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M6   Edit
Assignee: Paul Webster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-11 09:18 EST by Ben Vitale CLA
Modified: 2009-03-10 13:14 EDT (History)
0 users

See Also:


Attachments
Stack trace (2.11 KB, text/plain)
2009-02-11 09:18 EST, Ben Vitale CLA
no flags Details
Patch to remove the listener (1.01 KB, patch)
2009-02-11 09:24 EST, Ben Vitale CLA
pwebster: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Vitale CLA 2009-02-11 09:18:49 EST
Created attachment 125384 [details]
Stack trace

Build ID: M20080911-1700

Steps To Reproduce:
1. Develop a custom source provider
2. Open and close the Categories preference page
3. Do something to trigger a "source changed" event
4. Look for "widget disposed" errors in the log

More information:

It appears that the ActivityCategoryPreferencePage attaches its table label provider as an activity manager listener, but does not remove the label provider as a listener when the page is disposed.
Comment 1 Ben Vitale CLA 2009-02-11 09:24:06 EST
Created attachment 125385 [details]
Patch to remove the listener
Comment 2 Paul Webster CLA 2009-02-11 10:20:15 EST
Released to HEAD >20090211
PW
Comment 3 Paul Webster CLA 2009-02-11 10:20:28 EST
Thanx Ben.
PW
Comment 4 Paul Webster CLA 2009-03-10 13:14:12 EDT
In I20090310-0100
PW