Community
Participate
Working Groups
AbstractActivityManager uses an ArrayList to manage its listeners. The result is that if listeners are removed by a listener handler, then not all registered listeners will receive event notification. The fix is simply to use ListenerList to store the list of Listeners and not ArrayList. This problem (and fix) is similar and related to bug 359887.
Created attachment 205332 [details] Patch
I think this patch should probably be back ported to the 3.x stream. I have confirmed that listeners are being removed by the event handler.
(In reply to comment #1) > Created attachment 205332 [details] > Patch Patch pushed to R3_development and R4_development. Thanks, Dean! http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R3_development&id=9b7ac33c63cbbb8911e1c318959067ebfe71ef84 http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R4_development&id=9f8dc9cf07e6066ef6570e8b4afbefac494da803