Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322819

Summary: DebugSessionManager waits forever when re-launching many times
Product: [WebTools] JSDT Reporter: Michael Rennie <Michael_Rennie>
Component: DebugAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact: Simon Kaegi <simon_kaegi>
Severity: major    
Priority: P3 CC: thatnitind
Version: 3.2   
Target Milestone: 3.3 M2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
proposed fix none

Description Michael Rennie CLA 2010-08-16 13:07:13 EDT
Created attachment 176701 [details]
proposed fix

code from HEAD

re-launching Rhino many times in a row can lead to the DebugSessionManager waiting indefinitely to stop, which can lead to a pile of leaked processes on the host machine.

One solution would be to poll and not block forever.

Simon, please have a look at the patch.
Comment 1 Michael Rennie CLA 2010-08-16 16:48:24 EDT
applied to HEAD