Bug 225884 - Cleanup plug-in initialization
Summary: Cleanup plug-in initialization
Status: RESOLVED FIXED
Alias: None
Product: Subversive
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Alexander Gurov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-05 16:43 EDT by Eugene Kuleshov CLA
Modified: 2011-05-18 06:50 EDT (History)
0 users

See Also:


Attachments
patch (1.13 KB, text/plain)
2008-04-05 16:44 EDT, Eugene Kuleshov CLA
i.vinnykov: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Kuleshov CLA 2008-04-05 16:43:23 EDT
Subversive plugins are using the following code snippet that can lead to the endless loop under certain circumstances and potentially block Eclipse workbench (e.g. when plugin is activated by UI designer, such as SWT builder):

 	while (SVNTeamPlugin.instance == null) {
 		try {Thread.sleep(100);} catch (InterruptedException ex) {break;}
 	}

This code is not needed anymore because issues been fixed in Equinox. See bug 59401
Comment 1 Eugene Kuleshov CLA 2008-04-05 16:44:48 EDT
Created attachment 94979 [details]
patch
Comment 2 Alexander Gurov CLA 2008-04-15 09:48:56 EDT
Eugene, 

Thank you for provided patch. It is applied and changes will be available in the next Subversive build.