Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 269683 - debug event listener not removed
Summary: debug event listener not removed
Status: CLOSED FIXED
Alias: None
Product: EMFT
Classification: Modeling
Component: MWE (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Patrick Schonbach CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-23 08:55 EDT by Knut Wannheden CLA
Modified: 2010-05-27 08:00 EDT (History)
2 users (show)

See Also:


Attachments
patch for mwelaunchdelegate (858 bytes, patch)
2009-03-23 08:56 EDT, Knut Wannheden CLA
sven.efftinge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Wannheden CLA 2009-03-23 08:55:45 EDT
After working in Eclipse for a while and running some workflows Eclipse seems to get slower and there are always more background jobs being run with the title "refresh resources".

It seems like the problem is in MWELaunchDelegate which adds itself as a debug event listener (DebugPlugin.getDefault().addDebugEventListener(this)) but it seems like this event listener is never removed.

The attached patch fixes this. Possibly it is not the correct place to remove the listener.
Comment 1 Knut Wannheden CLA 2009-03-23 08:56:41 EDT
Created attachment 129586 [details]
patch for mwelaunchdelegate
Comment 2 Patrick Schonbach CLA 2009-03-25 14:35:11 EDT
Patch applied
Comment 3 Bernd Kolb CLA 2009-05-27 10:30:26 EDT
closing