Community
Participate
Working Groups
Build ID: M20060921-0945 Steps To Reproduce: 1. Obtain the shared instance of org.eclipse.team.internal.core.RepositoryProviderManager through RepositoryProviderManager.getInstance() 2. Invoke addListener(myListener) 3. Share a project: myListener.providerMapped() is invoked 4. Invoke removeListener(myListener) 5. Share another project: myListener.providerMapped() is again invoked More information: The problem is at lines 56 of org.eclipse.team.internal.core.RepositoryProviderManager which performs add instead of remove public void removeListener(IRepositoryProviderListener listener) { listeners.add(listener); }
Created attachment 58659 [details] Patch: apply to org.eclipse.team.internal.core.RepositoryProviderManager
Isn't that embarrassing. Thanks for providing a patch although, in this case, I already had the fix ready before I got notification that you provided the patch. Next time, I'll wait a bit ;-)